Hilary Benn took 17,117 votes to win for Labour in Leeds South.
The Green Party’s Ed Carlisle was second with 5,838 votes.
Mr Benn said it seemed clear that the country had voted for change. He added: “And Labour is ready for that task.”
Leeds South is made up of Beeston & Holbeck, Burmantofts & Richmond Hill, Hunslet & Riverside, Middleton Park, part of Temple Newsam ward.