The 3d electrons had more energy than 4s electrons