The seven-year bloody U.S. combat role in Iraq is over, President Barack Obama told American Tuesday night, and it's time to focus on repairing the U.S. economy. In a prime-time address from the Oval Office, Obama claimed no victory. He balanced praise for the troops who fought and died in Iraq with his conviction that getting into the conflict had been a mistake in the first place. But he also used the moment to emphasize that he sees his primary job as addressing the weak economy and other domestic issues and to make clear that he intends to begin disengaging from the war in Afghanistan next summer. During an 18-minute television address from the Oval Office, the president officially announced the end of Operation Iraqi Freedom, saying, "the Iraqi people now have lead responsibility for the security of their country." That, Obama said, fulfilled his campaign pledge made two years ago. "Ending this war is not only in Iraq's interest -- it is in our own," he said. "The United States has paid a huge price to put the future of Iraq in the hands of its people. We have sent our young men and women to make enormous sacrifices in Iraq, and spent vast resources abroad at a time of tight budgets at home. We have persevered because of a belief we share with the Iraqi people -- a belief that out of the ashes of war, a new beginning could be born in this cradle of civilization." Obama called it a "remarkable chapter' in U.S. history but added "it is time to turn the page" and said it was his "central responsibility" to get the economy rolling again. "Today, our most urgent task is to restore our economy, and put the millions of Americans who have lost their jobs back to work," Obama said. "To strengthen our middle class, we must give all our children the education they deserve, and all our workers the skills that they need to compete in a global economy. We must jump-start industries that create jobs, and end our dependence on foreign oil. We must unleash the innovation that allows new products to roll off our assembly lines, and nurture the ideas that spring from our entrepreneurs." Obama said the pullout of combat troops from Iraq -- where 50,000 troops remain for another 16 months as trainers and in support of Iraqi forces -- doesn't mean America is turning its back on the world. "It should also serve as a message to the world that the United States of America intends to sustain and strengthen our leadership in this young century," he said. Obama gave credit to Iraqis for taking over their own security and working to forge a democratic government in the face of ongoing terrorist activities by insurgents. Obama said the draw down in Iraq will help bolster U.S. efforts in Afghanistan, where he said troops are "fighting to break the Taliban's momentum" and give Afghans time to build their capacity to fend for themselves. Ultimately, he said, Afghans must be responsible for their own security, though the timing of the transition "will be determined by conditions on the ground."