Gay marriage was declared legal in California by a court ruling in May of 2008, later made illegal in November of 2008 by Proposition 8. The California Supreme Court upheld Proposition 8 in May 2009, but determined gay marriages performed in the months gay marriage was legal will remain valid in California. In August 2010, a federal judge declared Proposition 8 unconstitutional, but the ruling was stayed indefinitely by a US Circuit Court of Appeals.