Twitter’s shareholders have voted to approve a deal with Elon Musk to buy the company for $44bn (£38bn).
The decision was made in a short conference call with investors from the company’s San Francisco headquarters.
It means Twitter will now try to force Elon Musk to buy the company in the courts.
The meeting followed explosive testimony from Twitter’s former head of security Peiter Zatko in front of the US Senate.
In April, Twitter agreed to sell the company to the world’s richest person, Elon Musk.
However, the deal soured after Mr Musk alleged he was misled by Twitter about the number of spam and bot accounts on the platform.
He said he no longer wished to purchase the company in May, but Twitter argues that Mr Musk cannot back out of the deal.
The social media platform says that fewer than 5% of its monetizable daily active users (those who are able to look at adverts) are bots. Mr Musk argues it could be many times higher.
Twitter is currently valued at $32bn, considerably below the $44bn offer from Mr Musk.
Today’s vote could have spelled the end of Twitter’s legal pursuit, but shareholders have now given the company the green light to pursue Mr Musk in court.
The two are set to meet in front of a Delaware state court in October. During the hearing a judge will decide whether or not Mr Musk has to buy the company.
Just before the shareholder decision, Twitter whistle-blower Pieter Zatko was in Washington testifying before the Senate Judiciary Committee about alleged security flaws.
He told US lawmakers the firm was “misleading the public” about how secure the platform is.
The firm’s former head of security went on to say that Twitter was “a decade behind” security standards. Twitter says Mr Zatko Twitter shareholders approve $44bn Musk deal was fired from his job, and that the claims are inaccurate.
Mr Zatko has previously supported Elon Musk’s claim that the platform has more spam and fake accounts than it has admitted – though he didn’t elaborate on this on Tuesday.
Last week, a judge said that Mr Musk’s lawyers would be allowed to use the Twitter whistle-blower’s testimony in court.
It largely focussed on national security issues – and is not officially connected with Mr Musk’s attempt to pull out of the deal to buy Twitter.