I was playing chess with my father.
My pawn was on the second-to-last square before promotion. He had two rooks side-by-side blocking my pawn, therefore I naturally took the rook beside it because a pawn moves diagonally to take the piece.
He said this was an illegal move and not allowed, that a pawn cannot take a piece diagonally and then gets promoted because it's on the other side. Is this true?