WASHINGTON—The Supreme Court on Monday upheld the practice of public prayer before local-government meetings, rejecting arguments that overwhelmingly Christian invocations violate the constitutional bar on the establishment of an official religion.

The case split the court 5-4 along its conservative-liberal divide, with Justice Anthony Kennedydelivering the majority opinion that permitted prayers at Greece, N.Y., town board meetings.

...