A court in Nepal has sentenced a man to 35 years in prison for the rape and murder of a 7-year-old girl.

The girl had gone missing Feb. 20 near her home in the southern town of Kalaiya and was found unconscious the next day. She died in a hospital last week, prompting street protests in the capital, Kathmandu, and her hometown.

Late Tuesday, the Bara District court sentenced Kanhaiya Gupta to 15 years in prison for the rape and 20 years for the murder after a trial that lasted only a few days. The sentences are the maximum allowed for those offenses in Nepal.