SpaceX (NASDAQ: SPCX) shares slid 3.8% on Nov. 4, the day after midterm results confirmed Democratic control of both the House and Senate, even as the broader Nasdaq posted gains.

A further 9% decline followed on Nov. 5, as Republican lawmakers openly warned that a newly empowered Democratic Congress could direct its oversight powers squarely at Elon Musk’s business empire.

The sell-off reflects a tension that has been building for months: the chief executive of Tesla (NASDAQ: TSLA), SpaceX, and social platform X has spent the election cycle as one of the most visible and financially committed partisan actors in the country.

A Fortune analysis of Federal Election Commission filings through Oct. 14 found that Musk directed $427.5 million to federal political committees over a 17-month period, a staggering sum that failed to deliver the congressional outcome he sought.

The stakes for his companies are concrete: SpaceX counts NASA and the Pentagon among its largest customers, while Tesla’s autonomous driving program depends heavily on approvals from federal safety regulators.

Beginning in January, the party Musk repeatedly cast as a threat will chair the congressional committees with jurisdiction over precisely those agencies and contracts.

The political exposure crystallized publicly on Oct. 30, when Musk posted on X that “Democrats will execute their plan to end democracy in America if they gain control,” just four days before voters went to the polls.

Bestselling horror author Stephen King answered with a three-sentence rebuttal that drew immediate attention: “Don’t be ridiculous. You sound like Trump. Next you’ll be saying ‘They’re eating the pets!'”

The final line was a deliberate callback to the Sept. 10, 2024, presidential debate, when Donald Trump repeated a viral rumor about Haitian immigrants in Springfield, Ohio, telling moderator David Muir: “In Springfield, they’re eating the dogs. The people that came in, they’re eating the cats.”

ABC News anchor Muir addressed the claim on air, stating: “ABC News did reach out to the city manager there. He told us there have been no credible reports of specific claims of pets being harmed, injured or abused by individuals within the immigrant community.”

King’s dig carried extra sharpness because Musk had himself amplified the rumor two days before that debate, writing on X on Sept. 8, 2024, in response to a post from conservative activist Charlie Kirk: “Apparently, people’s pet cats are being eaten.”

The novelist has been a persistent critic of Musk since the billionaire acquired Twitter in 2022 and spent the 2024 campaign cycle accusing him of saturating the platform with pro-Republican content.

The X platform itself adds another layer of complexity to the business picture, having become part of SpaceX when the company merged with Musk’s AI venture xAI in February, meaning his political posts now run on infrastructure tied directly to a company with major federal contracts.

Texas delivered one of the election night’s sharper results, with Republican state Attorney General Ken Paxton losing his Senate bid to Democrat James Talarico in a state Trump had carried by double digits in 2024.

The outcome leaves Musk in an unfamiliar position: the governments and regulators his businesses depend on will soon be run by the coalition he spent hundreds of millions of dollars and enormous public energy trying to defeat.