ALMATY (Reuters) - Kazakhstan says it has clamped down on peaceful rallies out of fear of a repeat of the protests that brought chaos to Ukraine, a United Nations special rapporteur said in a critical report on the central Asian state.

Kazakhstan’s strongman President Nursultan Nazarbayev has sought to play the role of peacemaker in the Ukraine conflict, that was triggered by popular protests that forced the then President Viktor Yanukovich to flee the country in 2014.

Concluding a fact-finding visit to Kazakhstan, the U.N. rapporteur Maina Kiai said there was a “very limited space for the expression of dissenting views” in the oil-rich nation.

“Various government officials that I met with mentioned the necessity of limiting peaceful assembly for fear of a revolution such as the recent ... events in Ukraine,” he said in a statement released late on Tuesday.

“I do not accept this as a legitimate ground for restricting the right (to protest),” he added.

There was no immediate comment from Kazakh officials.

Ukraine’s popular uprising, which installed a pro-Western government in Kiev, sent shockwaves across authoritarian post-Soviet Central Asia, including Kazakhstan, which has been ruled by Nazarbayev since the downfall of Communism.

Nazarbayev, a former steelworker who has warm ties with Russia, has overseen market reforms and attracted massive foreign investment. But he has also kept a tight lid on dissent.

The West and human rights bodies denounced the Kazakh government after police opened fire in December 2011 to quell a revolt by striking oil workers in the western town of Zhanaozen. At least 16 people were killed.

“Although authorities repeatedly make reference to the ‘rule of law’, the practice in Kazakhstan reflects strong adherence to ‘rule by law,’ perhaps a holdover from the past Soviet era,” Kiai said.

He added that he was “deeply disappointed” when some of the people he met during his visit this month to Kazakhstan allegedly came under police surveillance.