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.