I'm remembering Pol Pot and his murderous regime in Cambodia.
http://www.historyplace.com/worldhistory/genocide/pol-pot.htm
Throughout Cambodia, deadly purges were conducted to eliminate remnants of the "old society" - the educated, the wealthy, Buddhist monks, police, doctors, lawyers, teachers, and former government officials. Ex-soldiers were killed along with their wives and children. Anyone suspected of disloyalty to Pol Pot, including eventually many Khmer Rouge leaders, was shot or bludgeoned with an ax. "What is rotten must be removed," a Khmer Rouge slogan proclaimed.
In the villages, unsupervised gatherings of more than two persons were forbidden. Young people were taken from their parents and placed in communals. They were later married in collective ceremonies involving hundreds of often-unwilling couples.
Up to 20,000 persons were tortured into giving false confessions at Tuol Sleng, a school in Phnom Penh which had been converted into a jail. Elsewhere, suspects were often shot on the spot before any questioning.
Ethnic groups were attacked including the three largest minorities; the Vietnamese, Chinese, and Cham Muslims, along with twenty other smaller groups. Fifty percent of the estimated 425,000 Chinese living in Cambodia in 1975 perished. Khmer Rouge also forced Muslims to eat pork and shot those who refused.
Yes, it's extreme and there are differences but it shows what can happen when a government begins by attacking the intellectuals and learned persons of their society, which leads to book burnings and worse.