Brief demonstration of the proper way to castle according to FIDE Rule 3.8a.ii: “castling’. This is a move of the king and either rook of the same colour on the same rank, counting as a single move of the king and executed as follows: the king is transferred from its original square two squares towards the rook, then that rook is transferred to the square the king has just crossed.”