Formation of metallic mercury