A baby born in Tokyo weighing the same as a large onion has gone home healthy. The tiny tot weighed just 268 grams — under 10 ounces — when he was delivered at 24 weeks, reportedly after he stopped growing in the womb.

He was so small he fit in an adult's cupped hands.

Keio University Hospital said the boy is believed to now hold the record for the smallest newborn boy to be discharged from a hospital in good health. The record was previously held by a boy born in Germany in 2009 weighing just 274 grams (9.6 ounces), the hospital said, citing a registry put together by University of Iowa for the world's tiniest surviving babies.

The boy is seen five days after his birth in Tokyo, Japan, in this undated handout photo obtained by Reuters on Feb. 27, 2019. Keio University School of Medicine, Department of Pediatrics

After five months of treatment, the boy now weighs just over 7 pounds, is feeding normally and has been discharged, Keio University Hospital said. He was discharged last week, two months after his initial due date, local media said.

Get Breaking News Delivered to Your Inbox

"I can only say I'm happy that he has grown this big because honestly, I wasn't sure he could survive," the boy's mother said.

BBC News points out the baby was born by emergency C-section.

The baby boy is seen in this undated but recently taken handout photo obtained by Reuters on Feb. 27, 2019. Keio University School of Medicine, Department of Pediatrics

Doctor Takeshi Arimitsu, who treated the infant, said he wanted to tell people that "there is a possibility that babies will be able to leave the hospital in good health even though they are born small."

The smallest surviving girl was born in Germany in 2015 weighing 252 grams (8.9 ounces), according to the University of Iowa registry.

The survival rate of the smallest babies is substantially lower for boys compared to girls. Experts are still not entirely sure why, though there have been suggestions it could be partly related to the slower development of lungs in male babies, Keio hospital said.

Japan has one of the world's lowest rates of infant mortality, according to UNICEF.