When California State Legislature opened the 2005-2006 session, Assembly member Mark Leno introduced "Assembly Bill 19" (AB 19), which proposed legalizing same-sex marriage. The bill gained the support of then-Speaker Fabian Núñez among others. Leno had introduced a similar bill in the prior session, but it died in committee. Assembly committees reported out "Assembly Bill 19" favorably, but the measure failed on the Assembly floor on June 2, 2005. Later that month, Assembly member Patty Berg amended the text of her fisheries-research measure, "Assembly Bill 849" (AB 849), which was already in the Senate, to the text of Leno's failed bill.