California has awarded the majority of its electoral votes to the Republican Party in 23 elections , the Democratic Party in 19 elections , and the only year where a third party candidate won a majority was in 1912 , where Theodore Roosevelt won the state while campaigning as the Progressive Party 's nominee .