A Question Time-style grilling awaited Ed when he visited a Stainforth school.
Students from Holy Family Catholic Primary quizzed him on a range of issues, including his thoughts on Donald Trump, Brexit and immigration and his reasons for becoming an MP.
The year five and six pupils invited Ed to visit the school after meeting him at the launch of Stainforth library.
He said: “I was delighted to meet with the pupils again, and this time I had the opportunity to discuss my role as MP and to answer their questions.
"They asked some excellent, thoughtful and challenging questions and gave me quite a grilling. It reminded me of being on Question Time!”
Ed added: "It’s important that children understand how our system of government works, so I always welcome the opportunity to provide an insight into what I do as an MP and the important role that young people play, now and in the future, in our democracy.”
Year six teacher Victoria Fox-Edmundson said the students enjoyed taking part.
She said: “The children were delighted that Mr Miliband was able to visit the school. It was a fantastic opportunity for them to participate in putting questions to their elected representative in Parliament.”