Lebanon's parliament has voted to extend the term of its pro-Syrian president by three years.
Syria is the main power broker in Lebanon
Deputies backed the constitutional amendment allowing Emile Lahoud to remain in office by 96 votes to 29.
The move came a day after a UN warning to Syria not to interfere in Lebanon. A Security Council resolution demanded that foreign troops leave Lebanon.
The resolution is aimed at Syria, which still has thousands of troops stationed in Lebanon.
The US and French-backed resolution won nine votes, the minimum needed to pass. A Syrian official dismissed it.
The BBC's Kim Ghattas in Beirut says the result in Lebanon is no surprise in a parliament dominated by allies of Syria.
The announcement was followed by celebratory fireworks in the capital.
Mr Lahoud is Syria's strongest ally in Lebanon, where about 17,000 Syrian troops are still based.
Syria has been pushing for an extension of the mandate of Mr Lahoud, whose six-year term ends in November. The country's constitution had forbidden presidents from seeking re-election.
Correspondents say Emile Lahoud is Syria's strongest ally in Lebanon
Our correspondent says many Lebanese politicians are opposed to the extension.
They say the decision was made in Damascus and imposed on top Lebanese officials.
Our correspondent says these opponents had hoped international displeasure with Syria's intervention in the elections would encourage more legislators to vote against the bill.
Syria's involvement in Lebanon dates back to 1976, when it sent troops into Lebanon to try to quell a year-long civil war. The conflict raged on for another 14 years.
But the troops have remained and Damascus' military and political influence in Lebanon remains strong. Syria is believed to be the main backer of Hezbollah.