CONWAY, S.C. -- A South Carolina woman has been sentenced to decades in prison for dumping her newborn daughter in an apartment trash bin.

Local media report a judge in Conway on Thursday sentenced Shelby Taylor of Myrtle Beach to 25 years in prison.

Taylor and her attorneys did not deny the basic facts of the case against her. She hid her pregnancy from her family and gave birth at home in 2015 while her husband and 16-month-old daughter were asleep. She put the baby girl in a trash bag, in a trash bin at the apartment complex.

The girl was found by two brothers and survived.

Defense attorneys argued Taylor suffered from a severe form of postpartum depression.

Prosecutors said Taylor intentionally deceived everyone and intended to kill her baby.