A unanimous Supreme Court has ruled for an Arizona church in a dispute over a town's sign law.

The law in Gilbert, Arizona, set tougher rules for signs that direct people to Sunday church services than for signs for political candidates and real estate agents.

The Good News Community Church complained that the law forced the church to put up smaller signs than those for political candidates, real estate agents and others.

The church's signs also could be in place for short periods of time.

Lower federal courts upheld the town's sign ordinance, saying that the distinction it drew between different kinds of temporary signs was not based on what a sign said.