Tanzanian authorities said on Thursday they had ordered a local advocacy group to explain itself or face legal action after it published a poll showing President John Magufuli's popularity had dived by 41%.
The NGO Twaweza (which means "we can make it happen" in Swahili), last week published the results of an opinion survey on the state of democracy in Tanzania.
The survey of about 1 200 people revealed that citizens felt their freedoms had diminished since Magufuli took office in 2015 as a corruption-fighting "man of the people".
A 2016 survey by Twaweza - for which they did not draw criticism - put Magufuli's popularity rating at 96%. Their latest research said this had dropped to 55%, the lowest recorded rating for a president in the country's history.
At a news conference on Thursday, the Commission for Science and Technology (Costech) acting director general Amos Nungu confirmed the contents of a letter circulating on social media, castigating Twaweza for their research.
"You are hereby required to show cause, within seven days from the date of this letter, why appropriate legal action should not be taken against your organisation by the relevant authority," read the letter dated July 9.
Nungu accused Twaweza of violating "research procedures" and slammed the NGO for publicising the letter.
Twaweza director Aidan Eyakuze denied leaking the letter and said his organisation was "working on our response", which is due on Monday.
Ado Shaibu, spokesperson for the opposition Alliance for Change and Transparency, accused the government of trying to muzzle Twaweza.
"Opposition parties and the ruling party have often been the subject of Twaweza polls without running into trouble. I think this time Costech wrote to Twaweza because the poll was not favourable to government," he told a press conference on Thursday.
Since coming to power, Magufuli has been criticised by rights groups and civil society organisations over his authoritarian leadership style.
Detractors say he has clamped down on opposition and freedom of expression.
* Sign up to News24's top Africa news in your inbox: SUBSCRIBE TO THE HELLO AFRICA NEWSLETTER