A woman who put her newborn baby boy in a Richmond, B.C., dumpster has been sentenced to six months house arrest.

Courtney Dawn Taylor, 22, also must perform 50 hours community service and will be on probation for two years, a provincial court judge ruled Monday.

Taylor gave birth to the infant Jan. 31, 2010.

Acting on a tip, dozens of RCMP officers spent three days in early February 2010 searching through the Burns Bog landfill south of Vancouver before recovering the body of the newborn.

Taylor pleaded guilty in December to a charge of disposing of a body.

Police had recommended a charge of infanticide, but investigators were never able to determine the cause of the child's death.

The Crown had called for an 18-month jail sentence for the Richmond woman.