A federal judge who bought more than $15,000 worth of Tesla stock has rejected a motion that could have forced him to recuse himself from a lawsuit that Elon Musk’s X Corp. filed against the nonprofit Media Matters for America.

US District Judge Reed O’Connor of the Northern District of Texas bought Tesla stock valued between $15,001 and $50,000 in 2022, a financial disclosure report shows. He was overseeing two lawsuits filed by X and recused himself from only one of the cases.