The US Supreme Court has ruled in favor of a high-school football coach who was dismissed from his position because he knelt to pray on the field after games.

The coach, Joseph Kennedy, had filed suit, saying that Bremerton High School in Washington had violated his right to religious freedom. By a 6-3 majority the Court agreed, saying that the school “sought to punish an individual for engaging in a brief, quiet, personal religious observance doubly protected by the Free Exercise and Free Speech clauses of the First Amendment.”