Turkish Foreign Minister Ahmet Davutoglu on Monday hailed the developments in Libya as a "significant achievement", and said the change in the north African country was a lesson for everyone.
His comments came after Libyan rebels entered the heart of Tripoli in a final drive to oust the country's leader Moammar Qaddafi.
"The change taking place in Libya in compliance with people's demands, following the one in Egypt and Tunisia, should teach a lesson to everyone," Davutoglu told a news conference in Addis Ababa, Ethiopia during a visit, according to the Anatolia news agency.
"Leaders of other countries must also be aware of the fact that they will be in power as long as they satisfy the demands of the people," he said. His remarks were interpreted as an implicit warning to Syrian President Bashar al-Assad.
Davutoglu said he hoped the situation in Libya would return to normal as soon as possible.
"Today is a historic day for Libya," he added.
"One of the most important stages to rebuild a new Libya is taking place. This new Libya must be a democratic, free and united one meeting the demands of the people."
In July, Turkey recognized the rebel National Transitional Council, based in Benghazi, as the legitimate representative of the Libyan people.
Davutoglu also said a democratic Libya would constitute an example not only for the people of Libya but also for the region.
Britain compares Assad to Qaddafi