A new Italian president was finally approved on Wednesday, in an untidy parliamentary election that nonetheless cleared the way for Romano Prodi to take office as prime minister.
The choice was Giorgio Napolitano, 80, a member of parliament for half a century, a former president of the lower house and, until 1989, a leader of the Italian Communist Party. The job is largely ceremonial, and Napolitano, now a member of the largest center-left party, the Democrats of the Left, is widely respected across the political spectrum.
But in Italy's poisonous political atmosphere, after last month's close election that narrowly ejected Silvio Berlusconi as prime minister, the selection of Napolitano still turned into a full-scale battle.
The voting stretched out over three days and could not be concluded until Wednesday, when, under the rules, a president could be chosen by a simple majority, instead of the two-thirds requirement in the initial votes.
After Napolitano won with 543 votes, 38 more than he needed, Berlusconi suggested that the new president was too close to the center-left to fulfill the traditional role of neutral political broker, and that Prodi, in his major appointments, had written the center-right out of politics.
"We are still convinced that half of the country has been excluded," Berlusconi said in a television interview. "This is not the will of the people, but we wish him well."
Prodi rejected the accusation from Berlusconi.
"Napolitano really will be the president of all Italians," he told reporters.
The selection clears the way for Prodi to take office because one duty of the president is to form and dissolve parliament. Napolitano is expected to be sworn in on Monday, then charge Prodi with forming a government.
But more broadly, the presidential election revealed much about the near future of Italy's uncertain politics, and about the strategies and limitations of Prodi and Berlusconi.
While the president is often elected by a broad swath of opposing political interests, Prodi and Berlusconi could not agree.
Prodi was hemmed in by the demands of his diverse coalition of nine center-left parties, and he owed a top job to Napolitano's Democrats of the Left, the largest party in the coalition. Given Prodi's slim majority in the Senate, if any of the nine parties withdraws support, the coalition may collapse.
Berlusconi's decision not to agree on Napolitano seemed to signal his calculation that Prodi's government will in fact fall -- and that Berlusconi would reap little advantage in cooperating with Prodi.
"He is saying the center-left didn't really win the elections," said Stefano Folli, former editor of Corriere della Sera. "This position allows him to take a very strong position in opposing Prodi."