Media playback is unsupported on your device Media caption Speaker Trevor Mallard was filmed smiling as he fed the baby during a lively debate

The speaker of New Zealand's parliament has cradled a lawmaker's baby while he presided over a debate in the House of Representatives.

Trevor Mallard tweeted a photo of himself feeding MP Tāmati Coffey's baby boy in the speaker's seat.

Mr Coffey, Labour MP for Waiariki, announced the birth of his son, Tūtānekai Smith-Coffey, in July.

The baby was born via a surrogate mother and is the biological son of Mr Coffey's partner, Tim Smith.

In a tweet about the baby's birth, Mr Coffey said he and his partner were "overwhelmed at the miracle of life" and the surrogate mother - a friend of Mr Smith - was "doing awesome".

On Wednesday, Mr Coffey attended a parliamentary debate with his baby for the first time after returning from paternity leave.

During the session, father-of-three Mr Mallard took on the role of babysitter as well as speaker.

A picture of Mr Coffey holding up the baby in parliament was shared by Green Party MP Gareth Hughes on Twitter.

"Lovely to have a baby in the House, and what a beautiful one @tamaticoffey," Mr Hughes wrote in the tweet.

Speaking to Newshub, Mr Coffey said he felt "really supported by my colleagues from across the House".

Mr Coffey is the latest MP to bring his baby to parliament, following the example of politicians across the world.

Lib Dem leader Jo Swinson, who attended a debate with her baby in 2018, and Australian Senator Larissa Waters, who breastfed in parliament in 2017, are among the legislators to make headlines.

And in September last year, New Zealand's Prime Minister Jacinda Ardern made history by bringing her baby along to her debut speech at the UN in New York.