A Guatemalan national living in the United States illegally has pleaded guilty to raping a Lancaster County girl.

Magdilio Diaz-Vasquez, 22, pleaded guilty last month to rape of a child, involuntary deviate sexual intercourse, statutory sexual assault, unlawful contact with a minor, and corruption of minors.

He was sentenced to 6-12 years in state prison.

Police said Diaz-Vasquez sexually assaulted the girl for several months, beginning when she was 12 years old.

Diaz-Vasquez was living in Quarryville illegally when the abuse occurred. He had been deported back to Guatemala several years prior, police said.

Diaz-Vasquez now faces felony federal charges for illegal re-entry into the United States. He will be turned over to the custody of immigration enforcement upon his release from the state prison.