An outgoing Republican senator blocked one of Donald Trump’s judicial nominations on Wednesday, throwing a wrench in the party’s plans to approve the US president’s picks before Democrats take control of Congress.

John Cornyn of Texas, who is leaving the US Senate after nearly 24 years following his primary loss to a Trump-backed challenger, told the Associated Press he would not support T Elliot Gaiser, a 37-year-old official in the justice department, to serve on a district court in northern Texas.

“He’s not from Texas. He hasn’t been vetted. And this is a lifetime job, and there’s better-qualified people to hold that job,” Cornyn said on Wednesday.

View image in fullscreenSenator John Cornyn attends a hearing on director of national intelligence (DNI) nominations on Wednesday. Photograph: Aaron Schwartz/Reuters

Cornyn’s refusal to support Gaiser came a day after he got into a heated verbal argument with a fellow Texas Republican senator, Ted Cruz, on the Senate floor over Gaiser’s nomination, according to the Washington Sun.

The two men’s yelling match was reportedly so loud that those in the press gallery could hear Cornyn tell Cruz: “I don’t find you credible. I’m mad at you.”

At one point, Cornyn told Cruz he was upset at someone “for ending my career”, though it is unclear whether Cornyn was referring to Trump or Cruz.

John Cornyn blocks Trump judicial nominee after Senate shouting match with Ted CruzRead more