California's Legislature races to the finish