The clock ticked as bills waited to be passed at the state capitol before Sunday night's legislative deadline.
Lawmakers had a late session Tuesday evening, passing several bills in both chambers.
One bill, Senate Bill 199, was one of the more controversial bills narrowly passed by the Assembly. The bill required toy guns be brightly marked in an effort to help law enforcement distinguish them from real weapons during split second decisions. The bill headed to the state Senate.
State senators gave the green light for drone restrictions. Assembly Bill 1327 regulated unmanned aerial surveillance systems. The measure banned drones with weapons and protected Californians from having their privacy invaded by implementing strict warrant requirements for use by law enforcement agencies.
One measure that is going away is a plastic bag ban. It failed to pass in the Assembly on Monday. Still, the bill's author intends to bring it up for reconsideration.
"We do have the opportunity to bring the bill back up before the end of the week, maybe Thursday, maybe Friday. As soon as we can secure three additional votes," said state Senator Alex Padilla.
Much of the attention at the State Capitol was for Mexico's President Enrique Pena Nieto, who was in town visiting.
He spoke before a joint session earlier in the day and praised lawmakers for passing laws friendly to migrants from Mexico living in California – such as the Dream Act and granting driver's licenses to undocumented immigrants.
"I recognize your democratic commitment to consolidate California as a benchmark of integration and respect," Pena Nieto said.
Pena Nieto also highlighted the trade partnership that Gov. Brown has been working to improve between the bordering countries.