PHILADELPHIA (AP) — A Pennsylvania high school student claims he was unfairly punished after a fellow student secretly recorded him having sex with his girlfriend in a Casablanca hotel during a school trip.

The 16-year-old filed a federal civil rights suit last week against Schuylkill Valley School District, saying his four-day suspension wasn’t appropriate because he did nothing wrong during a Spanish club trip in April.

READ MORE: Amazon Looking To Hire 3,900 Workers Throughout Delaware Valley Ahead Of Holiday Rush

The student’s suit says he and his then-girlfriend were humiliated when they learned of the recording. All three students were punished after the school learned of the tape.

The student’s suit claims he was punished for actions not prohibited in the school’s code of conduct because the contact wasn’t on school property. A student behavior slip Hemdal signed for the trip acknowledges sexual activity is cause to be sent home.

READ MORE: Colin Powell's Death From COVID-19 Highlights Risks Millions Of Americans Still Face

School officials did not immediately respond to an email seeking comment Monday.

(© Copyright 2012 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)

MORE NEWS: Man Killed, 16-Year-Old Student Shot In Head Near Lincoln High School, Philadelphia Police Say