California parolees can routinely be searched by police as a condition of their release from prison, the Supreme Court ruled Monday.

By a 6-3 vote, justices said the 1996 law is a legitimate attempt by state officials to deal with a large population of repeat offenders who pose a danger to public safety.