Davis was the last Democrat until Jerry Brown in 2010 California gubernatorial election to carry Alpine , Del Norte , Sacramento , San Joaquin , and Santa Barbara Counties , the last until Jerry Brown in 2014 California gubernatorial election to carry Merced , Mono , San Diego , San Luis Obispo , Stanislaus , and Ventura Counties , and the last until Gavin Newsom in 2018 California gubernatorial election to carry San Bernardino County .