After a weekend of heavy clashes sparked by the eviction of protesters from Istanbul's Gezi Park, the focal point of the protests, demonstrators struggled to regroup and police have since fought only sporadic battles with smaller groups of demonstrators across the country.
Overnight, riot police in the capital Ankara briefly fired tear gas and water cannon at protesters who hurled back stones and hid behind makeshift barricades, but there were no other reports of confrontations.
As the protests appeared to lose their intensity, Erdogan said he had overcome the crisis, seen as the biggest challenge yet to his Islamic-rooted government's decade-long rule.
"Our democracy has been tested again and came out victoriously," the premier told members of his ruling Justice and Development party (AKP) to roaring applause.
"The people and the AKP government have foiled the plot... Hatched by traitors and their foreign accomplices."
Confident he has weathered the storm, he warned against any resurgence of the protests.
Erdogan has been widely criticised for his handling of the crisis, with the United States and other Western allies strongly condemning the use of excessive police force against protesters.
But the premier said the police had "successfully passed the test of democracy" with their response to the unrest and vowed to increase their powers.
His comments came as police carried out raids at homes across the country, detaining dozens of demonstrators.
In Istanbul, officers arrested around 90 members of the Socialist Party of the Oppressed (ESP), a small leftist group that has been active in the demos, the Istanbul bar association said.
Interior Minister Muammer Guler spoke of 62 arrests in Istanbul and 23 in Ankara, and said they were linked to an ongoing anti-terrorist probe into the Marxist-Leninist Communist Party (MLKP) "which also took part in the Gezi Park protests".
