(ESRB) knew about it in advance and criticized them for not rating the game "adults only". The controversy resulted from the Hot Coffee mod created by personal computer users of the game using hacking tools to create a modification to play a "minigame", or game-within-a-game, which was otherwise inaccessible to players. In response, Rockstar removed the content used for the modification. That same year, Yee passed California Assembly Bills 1792 & 1793, a video game bill that criminalizes sale of video games rated M to children under 18 and require retailers to place M-rated games separate from other games intended for children. Yee's bills passed in part to mass media concentration on the speculative link between video game violence and real world violence, as well as several support of concerned parent groups. The bill was signed into law on October 7, 2005, and the Entertainment Software Association (ESA) filed a lawsuit 10 days later. After the bill passed, it was ruled to be unconstitutional by Judge Ronald Whyte. The adverse ruling required the state to pay $324,840 to the ESA in legal fees. (This law was eventually argued before the U.S. Supreme Court in 2010 in Brown v. Entertainment Merchants Association, in which the court struck down the law as unconstitutional.) 2006 Yee had 10 bills signed into law in 2006. Notable bills included AB 1969, which increases renewable energy production in the state, AB 2581, which aims to protect student free speech and prohibit school administrators from censoring school newspapers and broadcast journalism, AB 409, which establishes tighter controls and higher health standards for nail salons, and AB 1207, which adds sexual orientation to the list of protections in the Code of Fair Political Practices. California Senate On June 6, 2006, Yee defeated his opponents Mike Nevin and Lou Papan to win the Democratic nomination for the California State Senate. In the final vote tally certified on June 27, 2006 by San Mateo County Chief Elections Officer Warren Slocum, Yee gathered 51.9 percent, Nevin received 35.4 percent and Papan took 12.7 percent of the vote. Since Jan 1, Nevin spent $887,562.80 of campaign contributions, Yee spent $673,372.59 and Papan ran a modest campaign, spending just $289,862.64. He was elected to the California State Senate in the November 7, 2006 election by a landslide of 77.5% of votes cast. With San Francisco and San Mateo County having a high Democratic