Cheers erupted in the House of Commons as Andy Burnham entered to be sworn in as an MP.