Same-sex marriage first became legal in California on June 16, 2008. However, Proposition 8, a California ballot proposition and a state constitutional amendment banning same-sex marriages, passed in the November 2008 state elections. Proposition 8 was ultimately ruled unconstitutional by a United States District Court decision in 2010. In 2013, a Supreme Court decision upheld the ruling, paving the way for same-sex marriages to resume in California on June 26, 2013, after several years of legal battles.