A woman who did not know she was pregnant gave birth to a stillborn baby then hid the body.
The woman, who has name suppression, was feeling some "discomfort" so decided to have a bath, Judge Denys Barry said in the Wellington District Court this afternoon.
"During that time [you] gave birth to a stillborn baby."
The woman placed the baby's body in a plastic bag, wrapped it in a blanket, then into a piece of fabric before concealing it in a dresser, locking the room it was in.
She told her ex-partner, who she was living with at the time, that she had been to hospital for a medical condition which had caused her to lose weight.
The child's body was found about a week later.
The woman cried in the dock as Judge Barry read out the details of the incident.
"You were in a fragile mental state at the time and at the time you were, due to another medical condition, subject to rapid weight fluctuations and were unaware that you were pregnant at the time.
"You have described being in a state of shock and have little memory of the events afterwards."
The woman pleaded guilty to one charge of disposing of the dead body of a child with intent to conceal its birth. She was also before the court on separate dishonesty offences.
The ex-partner, who was the father of the child, spoke in his victim impact statement of the distress the incident had caused him, and the financial pressure it put him under in the aftermath.
Judge Barry said a rehabilitative sentence was more important in this case than a punitive one.
He sentenced the woman to nine months of supervision.