New Zealand Prime Minister Jacinda Ardern said Friday that she is expecting her first child in June.

The announcement comes after the 37-year-old famously shut down questions about juggling motherhood and politics when she became leader of the center-left New Zealand Labour Party last year.

Ardern announced her family's forthcoming arrival on Twitter, saying that she will be "PM and a mum," while her partner Clarke Gayford will be "'first man of fishing' and stay at home dad."

(@jacindaardern)

Speaking at a press conference outside her home in Auckland, Ardern said Deputy Prime Minister Winston Peters will be acting prime minister for six weeks after the child is born.

Ardern told reporters that she knew of her pregnancy while she was negotiating New Zealand's coalition government following September's general election, but withheld the news in case the pregnancy did not work out.

Ardern was sworn in as prime minister in late October, becoming the South Pacific nation's third female prime minister and youngest leader since the 1800s.

Rarely has any elected national leader given birth while in office in modern times. In 1990, Pakistan's then Prime Minister Benazir Bhutto gave birth to a child.

Friday's tweet was accompanied by a photo of three fishing hooks, with a smaller hook placed inside one of the larger ones, representing a pregnant mother and baby.

Ardern said she expected lots of questions, but assured her Twitter followers she has a plan "all ready to go."

Less than 24 hours after taking the party helm in August, two journalists asked if the young leader felt she needed to make a choice between starting a family and having a career.

"It is totally unacceptable in 2017 to say that women should have to answer that question in the workplace," she said at the time.

"It is a woman's decision about when they choose to have children, it should not pre-determine whether or not they are given a job."

Ardern said Friday she and Gayford know the sex of their baby but will not be revealing it until after the birth because "there is very little about our life we get to keep secret."