# What is the electronic configuration of magnesium?

For magnesium, $Z = 12$.........
$1 {s}^{2} 2 {s}^{2} 2 {p}^{6} 3 {s}^{2}$..........
What is the electronic configuration of $M {g}^{2 +}$?