Ronny Jackson, the former White House physician whose nomination for Veterans Affairs secretary was pulled over allegations of drinking and other misconduct, filed to run for Congress in Texas on Monday.

Jackson handed in his paperwork at the state’s Republican headquarters to run in the party’s primary for the 13th Congressional District, a spokesman for the state’s GOP confirmed to The Post.

The seat has been held by GOP Rep. Mac Thornberry for 13 terms, but went up for grabs when Thornberry announced his retirement in September.

Thornberry, who serves as the top Republican on the House Armed Services Committee, comfortably won his 2018 re-election with 81.5% of the vote.

Jackson, a former Navy admiral, was nominated in March 2018 to succeed ousted VA Secretary David Shulkin.

Then the White House physician, Jackson faced a slew of damaging allegations during his confirmation process, including that he improperly prescribed medication — particularly opioids — to staff (earning him the moniker “Candy Man”), drank on the job, created a hostile work environment, and got so drunk at a Secret Service party that he crashed a car.

Documents detailing the allegations were made public by Sen. Jon Tester (D-Mont.), the ranking Democrat on the Senate Veterans’ Affairs Committee.

Jackson withdrew his nomination a month later, slamming the allegations as “baseless,” “completely false” and “fabricated.”

The then-White House physician, who also served under Presidents George W. Bush and Barack Obama, resigned from his long-held post days later.