The mother had pleaded guilty over the incident which occurred in 2014

A woman who left her newborn baby boy for dead in a drain is expected to walk free from jail as early as next week.

The 30-year-old factory worker, now 32, has spent two years behind bars in a maximum security women’s jail for dumping her child down a 2.4m drain in Quakers Hill, western Sydney.

The baby, which lay undiscovered for five days in hot dry condition, was discovered on the morning of Sunday, November 23, 2014, reported Geelong Advertiser.

Scroll down for video

The baby (pictured at the moment he was saved) was retrieved from a stormwater drain in November 2014 five days after the newborn was allegedly abandoned by his mother

The five day old baby boy (left) miraculously survived after being dumped down this drain (right) by his mother on the day of his birth in western Sydney

The mother went back twice to check if he was still alive but 'did not hear anything and concluded her baby had died.

The woman, who cannot be named to protect the baby, had pleaded guilty to abandoning or exposing a child under seven years of age to danger of death and recklessly inflicting grievous bodily harm.

After giving birth to a healthy baby boy at Blacktown hospital at 1am on November 18, she discharged herself early that afternoon and took her baby and placed him in a stormwater drain near her home at about 3pm.

She told police: 'I sat with him at the park for a while ... we continued walking up towards Quakers Rd. Then I just saw the drain ... and I just put the baby in there.'

She then returned to the drain on Friday evening but didn't hear anything and concluded he was dead.

Sydney man David Otte and his daughter Hayley, heard cries coming from a drain on Sunday at 8am as they were cycling near the M7 motorway.

They stopped, thinking it was a trapped small animal, and then called emergency services when they saw it was a baby.

Police from Quakers Hill Local Area Command retrieved the baby, which was wrapped in a pink striped blanket, from the drain.

The auntie of the woman accused of attempting to kill her own child was comforted on Facebook (above) by relatives and friends after the incident

The court documents reveal that the father of the baby was a Fijian man who the woman began dating in January, but left her after finding out three months later that she was pregnant.

The woman began to appear 'withdrawn' and eventually told colleagues that she had a miscarriage in order to hide her pregnancy from her relatives, friends and boyfriend, who was not the child's father.

The woman had been living with her aunt and uncle in Quakers Hill when she became pregnant.

The woman soon entered into another relationship, and while pregnant boasted about her new boyfriend and posted a photograph of the two of them on her Facebook page.

The one day old baby boy was pushed through the tiny opening of this stormwater drain (pictured) in western Sydney. If not for dry Spring weather, the newborn might have drowned

The five-day-old infant was taken to hospital, where it was found he was severely dehydrated and had bleeding on the brain.

Doctors said the baby was able to survive in the drain because of a lack of rain causing storm water which might have drowned him, along with newborns' natural ability to survive without food or water.

While she dumped her day-old baby down a drain and leaving him to die, the woman is also thought to be a loving aunt who adores children and appears entirely devoted to her family in Australia and Samoa, Daily Mail Australia revealed.

One of her social media accounts is filled with pictures of babies and young relatives.

A family friend told Daily Mail Australia that the young woman - who goes by an anglicised nickname and works in western Sydney - 'loves children and is very good with children'.

The son of a Seventh Day Adventist pastor told Daily Mail Australia that his father had spoken to the woman in prison late last year.

Relatives of the accused woman (pictured leaving Blacktown Court last November) have been left distraught and confused about the 30-year-old's alleged dumping of her newborn son

The accused woman's aunt (pictured, left) said she did not know who the father of her niece's baby could be, but police have since located the man

He said she 'was trying to keep on top of things' while incarcerated in a Sydney jail, believed to be the Silverwater Women's Correctional Centre.

He described her as a 'very happy person' who was 'very good around children and young people at the church'.

He said that she is 'a quiet girl' but that 'she's an island girl, so she's got a bit of bite in her' and that might help her cope while in prison awaiting trial for attempted murder.

The accused's social media account also reveals that in the months leading up to the day the woman secretly gave birth, the woman posted photo after photo of newborn relatives with loving messages.

'Happy Eleven Weeks Princess', she posted with double pictures of an infant dressed in pink.

In another post from earlier this year, below a photograph of her with a relative's baby, she says, 'Awww, it's mine'.

Another post with photos of the same baby dressed in a singlet and nappy has 'I love you' written with the accused's name next to it.

In earlier posts, the young woman's life appears to revolve around her work friends, family and the church.

Last year, she posted a birthday message to her aunt, with whom she was living in Quakers Hill until her arrest, saying 'Happy Birthday to the lady of our house an amazing, aunty, mom, chef ... hero!! Thank God for you [and] may our Good Lord continue to Bless you with many more years to come. Love you loads xox'