The Proposition 22 Legal Defense and Education Fund, the Campaign for California Families (CCF) and others sued the City and County of San Francisco to stop it from issuing marriage licenses to same-sex couples.

The city thereafter filed a complaint for declaratory relief and a petition for writ of mandate against the state, challenging the validity of Family Code provisions limiting marriage in California to unions between a man and a woman.