During the 2012 presidential election primary campaign, Romney called Arizona's approach to illegal immigration "a model for the nation." He vowed that on his first day in office as president, he would bring an end to the lawsuits the Obama Administration's Justice Department had brought challenging Arizona's immigration policy. He also praised the anti-illegal immigration efforts of Kansas Secretary of State Kris Kobach, a law professor who had drafted much of Arizona's SB 1070 immigration enforcement law and similar measures around the country. Campaigning with Kobach in January 2012, Romney said, "We need more conservative leaders like Kris willing to stand up for the rule of law. With Kris on the team, I look forward to working with him to take forceful steps to curtail illegal immigration and to support states like South Carolina and Arizona that are stepping forward to address this problem." When the Supreme Court struck down parts of Arizona's SB 1070 in June 2012, a Romney campaign spokesman said that Romney supports the rights of states to make their own immigration laws when the federal government has failed to address illegal immigration.