Twitter is fined $150 million in privacy settlement, as Elon Musk commits more equity to fund deal.

Twitter was fined $150 million by the Federal Trade Commission and the Justice Department on Wednesday, as part of a settlement for misleading users about how it treated their personal data.

Twitter had told users it was collecting their email addresses and phone numbers to protect their accounts, but did not do enough to say that the information was also used to help marketers target ads, the agencies said. The misleading behavior lasted for at least six years, from 2013 to 2019, the agencies said.

Under the settlement, which must be approved by a federal court, Twitter did not admit wrongdoing.

“The $150 million penalty reflects the seriousness of the allegations against Twitter, and the substantial new compliance measures to be imposed as a result of today’s proposed settlement will help prevent further misleading tactics that threaten users’ privacy,” Vanita Gupta, the associate attorney general, said in a statement.

Regulators have in recent years scrutinized companies for their privacy practices. In 2019, the F.T.C. fined Facebook $5 billion in a settlement over violations related to Cambridge Analytica, a voter-profiling firm. This year, the agency settled with the company once known as Weight Watchers for producing an app that collected data from young people. The F.T.C. has also said it is considering writing new rules governing how companies collect and use data online.