SAN FRANCISCO (AP) – California’s Democratic candidate for governor is highlighting his Republican opponent’s similarities to President Donald Trump on immigration and environmental policy. Republican John Cox advocated for repealing California’s so-called sanctuary state law that limits cooperation with federal immigration authorities during a debate Monday with Democrat Gavin Newsom. Newsom says the law protects immigrants and keeps communities safe. He used Cox’s opposition to the law and support for building a border wall to draw parallels with the president, who is unpopular in California. On environmental policy, Cox said he thinks California needs to consider the economic costs of fighting climate change. Newsom, meanwhile, worked to tie Cox to Trump’s decision to withdraw the United States from an international climate agreement aimed at reducing emissions.