RAPID CITY, S.D. (AP) — A Rapid City man who raped a 3-year-old girl and took photos of the abuse has been sentenced to 50 years in prison.

Thirty-nine-year-old Alexander Palomarez pleaded guilty in October to first-degree rape. Authorities say Palomarez had 23 photos of the abuse on his cellphone.

Judge Janine Kern at Monday's sentencing called the photos "repulsive, sickening and outrageous."

Palomarez also had faced child pornography charges but prosecutors dropped them in exchange for his guilty plea to rape.

Palomarez could have been sentenced to life in prison. He must serve at least half of his 50-year term before being eligible for parole.

Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

More From KXRB