The Golden State state government functions under a system of three distinct departments: legislative, executive, and judicial. Voters elect representatives to the State Legislature, which is responsible for drafting laws. The governor, elected by popular poll, heads the executive division and oversees state agencies. The judicial court upholds the