WASHINGTON  - The Supreme Court upheld Thursday Barack Obama's reforms to extend health insurance to another 32 million Americans in a major victory for the president in the heat of a tight re-election contest.Obama said the ruling, which has decided how health care will be delivered in the United States for decades to come, went beyond politics and urged a divided country to get behind a law that was in the interests of all."I'm as confident as ever that when we look back five years from now or 10 years from now, or 20 years from now, we will be better off because we had the courage to pass this law, and keep moving forward," he said.Republicans, who have slammed the reforms as wasteful, big government overreach that would hike insurance premiums and hurt the quality of care, vowed to keep up the fight against Obama's signature domestic achievement."'Obamacare' was bad policy yesterday. It's bad policy today," the Republican challenger in the November presidential election, Mitt Romney, said, as congressional allies scheduled a symbolic repeal vote for July 11. "What the court did not do on the last day in session, I will do on my first day if elected president of the United States, and that is that I will act to repeal 'Obamacare,'" Romney promised. Republican House Speaker John Boehner also issued a rallying cry to conservatives with little more than four months to go before the November 6 elections, saying: "We don't have to accept 'Obamacare.'"Obama said an America that is struggling to emerge from a painful recession, with a ballooning budget deficit and stubbornly high unemployment, could ill afford to refight old political battles."The highest court in the land has now spoken," he said. "With today's announcement, it is time for us to move forward to implement and where necessary improve on this law."The key provision that underpinned Obama's health care overhaul, an "individual mandate" requiring almost every US citizen from 2014 to take out health insurance or be subject to a fine, was upheld in a tight 5-4 vote.Chief Justice John Roberts, the conservative-leaning leader of the court often seen as a bete noire by Democrats, was the unlikely hero for liberals as he provided the key swing vote that saw the massive reforms stand.Writing the majority opinion, Roberts said the court believed that if the mandate was seen as a tax then it was constitutional for the Congress to impose such a provision on America's 50 individual states."It is reasonable to construe what Congress has done as increasing taxes on those who have a certain amount of income, but choose to go without insurance. Such legislation is within Congress' power to tax," he wrote.Underlining how polarizing the health reforms are, there was a stinging dissent from Justice Anthony Kennedy."In our view, the entire Act before us is invalid in its entirety," wrote Kennedy, who Democrats had initially believed could be the key figure who might join the four more liberal members of the bench.Despite the worst fears of the Obama administration that the court might throw out the whole law, the only restriction as it turned out was on the Medicaid provision, expanding coverage to 16 million more poor Americans.The court decided that the clause could be upheld but only if the government withdrew its threat to withhold federal Medicaid funding from states that do not comply.Two years after Obama signed into law an act to insure most of the 50 million uninsured Americans and prevent coverage from being refused on the basis of patients' medical histories, its fate lay in the hands of six men and three women.There were cheers outside court and across the land from liberals and Democrats, for whom this issue has been a burning crusade for decades."We are jumping for joy," Julie Walters, a 35-year-old recruiter in Novato, California whose Violet has a rare genetic condition that causes severe epilepsy, told AFP."It means we can live our life not in fear," said Walters, whose three-year-old daughter might not have been covered if the law had been struck down because of her pre-existing condition.But "Obamacare" opponents outside the Supreme Court were incensed."The entire law must be repealed," said Matt Smith of Catholic Advocate, a group outraged by the law's requirement for organizations to include contraception in their employee health plans."At the end of the day, victory will be ours," said Senator Mike Lee from Utah, who like fellow Republicans pledged to take the fight to the November elections.Although the United States is the world's richest nation, it is the only industrialized democracy that does not provide health care coverage to all its citizens.