Canella was the one who clinched it:
"$400 million of that is for extending the Altamont Commuter Express (ACE) rail service, which runs via the Altamont Pass between Stockton and San Jose, to Ceres and Merced.
It was classic political blackmail. But while Canella was busy leveraging his vote to bring home the pork, without realizing it he may have greatly accelerated the California High-Speed Rail (HSR) project–if the California High Speed Rail Authority (CaHSRA) is clever enough to exploit the opportunity."
[
sf.streetsblog.org]