On June 5, 2007, the California State Assembly approved a measure restoring the state's marriage definition to its pre-1977 gender-neutral language. The measure was in response to the passage of Proposition 22, which changed that definition in March 2000. The bill eventually passed in the State Senate but was vetoed by the governor. In May 2008, the California Supreme Court invalidated Proposition 22, legalizing same-sex marriage in the state. The passage of Proposition 8 in November 2008 in turn banned same-sex marriage. The Supreme Court heard oral arguments in a challenge to the constitutionality of Proposition 8 in March 2013.