Democrat James Talarico won the Texas Senate race, a result that the BBC says dealt a blow to Republicans and to Elon Musk, who had backed the Republican candidate, Ken Paxton.

According to the Financial Times, Musk's political action committee contributed $47m (£35m) to Paxton's campaign, on top of $158m given to the Senate Leadership Fund in September. The BBC says the money was not enough to keep the seat Republican. It is the first time Texas has elected a Democrat to the Senate since 1988.

In his acceptance speech, Talarico said: "We just proved that all the money in the world is no match for the people of Texas."

Musk wrote on X: "Guess my election-interfering space lasers didn't work this time."

The BBC reports that Tesla shares fell 4.9% and SpaceX's shares fell 3.4% on Wednesday morning, while stocks broadly rose following the election outcome. The report also says many Democrats had spoken out against the expansion of artificial intelligence data centres during the campaign.

The report says Musk became the top individual donor in this year's midterms, with an estimated $446m backing Republican candidates. His money went through super PACs, which can raise unlimited sums but cannot give directly to candidates or coordinate with their campaigns.