A Muslim student has been removed from a college basketball team in Kansas for shooting baskets during the playing of the national anthem. The student claims he has a “religious objection” to the anthem.

The student, 19-year-old Rasool Samir, is now saying that his civil rights were violated when Garden City Community College, in Garden City, Kansas, removed him from the team, the Associated Press reported.

School officials said that Samir was removed from the team because he didn’t follow a team rule that players must leave the court before the anthem plays, not over his religious beliefs.

Samir, who is no longer a student at the college, filed a complaint with the ACLU claiming that the school violated his First Amendment rights.