We went into Iraq with congressional approval to remove a state sponsor of terrorism. We stayed after we removed sad dam from power for two reasons. One to plug the resulting power vacuum until iraq was able to elect their own government. And two to help train the new police and military forces of Iraq. The only issue we had with oil is that some countries were violating sanctions designed to try to keep Sadam from developing a nuke.