The San Francisco 2004 same-sex weddings took place between February 12 and March 11, 2004, after San Francisco Mayor Gavin Newsom directed the city-county clerk to issue marriage licenses to same-sex couples. California Attorney General Bill Lockyer and a number of interest groups sued to end the practice. About 4,000 such licenses were issued before the California Supreme Court ordered a halt to the practice on March 11. On August 12, 2004, the California Supreme Court voided all of the licenses that had been issued in February and March.
The legal dispute over the issuance of marriage licenses to same-sex couples led to the 2008 In re Marriage Cases ruling by the California Supreme Court, which legalized same-sex marriage in California.