Casey served as the senior coalition commander in Iraq from June 2004 to February 2007. He replaced Lieutenant General Ricardo S. Sanchez. Casey's goal was to encourage the Iraqis to take ownership of their problems and responsibility for their own security. For his part as a military commander, he focused on training Iraqi forces, limiting the role of American forces, and transferring the burden for providing security to Iraqi forces. Meanwhile, U.S. diplomats would focus on building and strengthening the Iraqi government and help the Iraqis hold elections. He expressed his view that a large and intrusive American presence in Iraq would not solve the political and security problems in that country and could even fuel the insurgency.