Twitter reported a decline in monthly active users on Friday, another sign of trouble for President Trump’s favored social network, which has struggled in recent months to tackle accusations of political bias and eliminate vast numbers of fake accounts.

The company, which had appeared to be undergoing a surprising resurgence, said it generated $711 million in revenue in its most recent quarter. That was 2 percent above the expectations of analysts, and about 24 percent more than the same period a year ago.

But those figures were overshadowed by Twitter’s announcement that its monthly active users had fallen to 335 million in the second quarter, one million fewer than in the previous three-month period.

The results drove Twitter’s stock down 12 percent in premarket trading, one day after investors dumped Facebook shares after the company’s disappointing quarterly earnings.