NEW YORK — Twitter suspended at least 58 million user accounts in the final three months of 2017, according to data obtained by The Associated Press. The figure highlights the company’s newly aggressive stance against malicious or suspicious accounts in the wake of Russian disinformation efforts during the 2016 U.S. presidential campaign.

Last week, Twitter confirmed a Washington Post report that it had suspended 70 million accounts in May and June. The huge number of suspensions raises questions as to whether the crackdown could affect Twitter’s user growth and whether the company should have warned investors earlier. The company has been struggling with user growth compared to rivals like Instagram and Facebook.

The number of suspended accounts originated with Twitter’s “firehose,” a data stream it makes available to academics, companies and others willing to pay for it.

The new data sheds light on Twitter’s attempt to improve “information quality” on its service, its term for countering fake accounts, bots, disinformation and other malicious occurrences. Such activity was rampant on Twitter and other social-media networks during the 2016 campaign, much of it originating with the Internet Research Agency, a since-shuttered Russian “troll farm” implicated in election-disruption efforts by the U.S. special counsel and congressional investigations.

Suspensions surged over the fourth quarter. Twitter suspended roughly 15 million accounts last September. That number jumped by two-thirds to more than 25 million in December.

Twitter declined to comment on the data. But its executives have said that efforts to clean up the platform are a priority, while acknowledging that its crackdown has affected and may continue to affect user numbers.

Twitter has 336 million monthly active users, which it defines as accounts that have logged in at least once during the previous 30 days. The suspended accounts do not appear to have made a large dent in this number. Twitter maintains that most of the suspended accounts had been dormant for at least a month, and thus weren’t included in its active user numbers.

Chief Financial Officer Ned Segal said in February that some of the company’s “information quality efforts” that include removing accounts could affect monthly user figures. Segal offered no specifics.

Six months later, in late June, Twitter disclosed that its systems found nearly 10 million “potentially spammy or automated accounts per week” in the month of May, and 6.4 million per week in December 2017. That’s up from 3.2 million per week in September. The company didn’t say how many of these identified accounts were actually suspended.

Twitter is taking other steps besides account deletions to combat misuse of its service, working to rein in hate and abuse even as it tries to stay true to its roots as a bastion of free expression. Last fall, it vowed to crack down on hate speech and sexual harassment and CEO Jack Dorsey echoed the concerns of critics who said the company hasn’t done enough to curb such abuse.