ISLAMABAD (AP) -- The Supreme Court charged Pakistan's prime minister with contempt Monday for defying its order to reopen an old corruption case against the president, sharpening a political crisis that has shaken this already volatile country.
Prime Minister Yousuf Raza Gilani pleaded not guilty. If convicted, he could be imprisoned and will likely lose his job. But analysts said the premier seems willing to sacrifice himself for the benefit of his party and his political ally, President Asif Ali Zardari.
The case has distracted the government from dealing with a host of ills facing the nuclear-armed country, including a stuttering economy and a vicious Islamist insurgency.
The political turmoil has also been a problem for the United States because it wants Pakistan to focus on repairing troubled bilateral relations and help negotiate peace with the Taliban in Afghanistan.
Gilani drove himself and his lawyer to court, an apparent attempt to show humility to the judges. Security was tight, with helicopters buzzing through the rainy, overcast sky and hundreds of police blocking roads leading to the court building in the capital, Islamabad.
One of the judges, Nasirul Mulk, read out the contempt charge, saying Gilani had "willfully flouted, disregarded and disobeyed the directions of this court."
The prime minister, who was surrounded by his Cabinet members and coalition partners, said he understood the charge and would contest it. The move was the formal start to a process that will take months or weeks to conclude. The next session will be on Feb. 22.
Court supporters have applauded the judges for upholding the rule of law. But government loyalists accuse the chief justice of pursuing a personal vendetta against president, or of acting on behalf of the army to topple the government.
The case against Zardari relates to kickbacks he and his late wife, former Prime Minister Benazir Bhutto, allegedly received from Swiss companies when Bhutto was in power in the 1990s. They were found guilty in absentia in a Swiss court in 2003.
Zardari appealed, but Swiss prosecutors dropped the case after the Pakistani parliament passed an ordinance giving the president and others immunity from old corruption cases that many agreed were politically motivated.
The bill was decried by many in Pakistan, who saw it as an attempt to subvert the law. The Supreme Court ruled it unconstitutional in 2009, and also ordered the government to write a letter to Swiss authorities requesting they reopen the case. The government has refused, saying the president enjoys immunity from prosecution while in office.
"The case has been very destabilizing because it has increased uncertainty, and the government is always worried about its survival," said Pakistani political analyst Hasan-Askari Rizvi. "A government whose performance is poor has become poorer."
Rizvi and other analysts said Gilani seems unlikely to bend to the court's demands and will likely be convicted and lose his job. The national assembly would then vote for a new prime minister, but the process could drag for months.
"Gone are the days when workers would sacrifice," Gilani said during a speech Saturday. "Now it's time for the leaders to sacrifice."
Most legal experts think the president would be in no immediate danger even if Gilani did ask Swiss authorities to reopen the case.
Last year, a Swiss prosecutor told the media that Geneva couldn't bring proceedings against Zardari because he has immunity as a head of state.
But the government may be concerned that the court may question the president's immunity if Gilani agrees to write the letter because of bad blood between Zardari and Chief Justice Iftikar Mohammad Chaudry, said Rizvi.
Zardari refused to reinstate Chaudry for many months after he was fired by former President Gen. Pervez Musharraf, despite having promised to do so. He was eventually forced to relent after public demonstrations.
Rasul Bakhsh Rais, a political science professor at Lahore University of Management Sciences, said the government's goal was to survive through at least the summer, when it would finish the next annual budget.
That would allow the ruling Pakistan People's Party to funnel dollars to the right places to improve its chances in national elections, which are scheduled for 2013 but which many expect could be called early in the fall.
It would also see them through Senate elections in March, which are expected to go well for the ruling party.
"They know elections are coming and would like to stay in power, so I think they are willing to sacrifice Gilani by not writing the letter," said Rais.
Associated Press writer Zarar Khan contributed to this report from Islamabad.