California was a court decision.
You are correct, my mistake. The referendum (Proposition 8) in California was to ban same sex marriage. It passed but was overturned by the Supreme Court.