A 24-year-old Ukrainian man who faked his name and age to attend a Pennsylvania high school has been ordered to spend two months in prison on federal fraud charges.

On Thursday, U.S. Middle District Senior Judge Sylvia Rambo sentenced Artur Samarin to less than the three-month jail term prosecutors suggested. Samarin pleaded guilty to passport fraud and Social Security fraud in August.

He faces deportation during a sentencing next week for separate fraud and sex crime charges.

He has admitted lying about his identity to get a free public education and having sex with a 15-year-old girl in 2014, when he was 22.

Samarin was called Asher Potts at John Harris High School. He impressed teachers and community leaders before authorities learned he was considerably older and overstayed a visa.