The U.S. Capitol building is illuminated by the rising sun, Wednesday, Dec. 18, 2019, on Capitol Hill in Washington. President Donald Trump is on the cusp of being impeached by the House, with a historic debate set Wednesday on charges that he abused his power and obstructed Congress ahead of votes that will leave a defining mark on his tenure at the White House. (AP Photo/Matt Rourke)
Matt Rourke/AP
The U.S. Capitol building is illuminated by the rising sun, Wednesday, Dec. 18, 2019, on Capitol Hill in Washington. President Donald Trump is on the cusp of being impeached by the House, with a historic debate set Wednesday on charges that he abused his power and obstructed Congress ahead of votes that will leave a defining mark on his tenure at the White House. (AP Photo/Matt Rourke)
Now playing
02:31
Key lawsuit dismissed by judge over congressional subpoena
Now playing
03:05
Avlon calls for training and reform in police departments
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Toya Sarno Jordan/Getty Images
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Now playing
02:39
Governor settles with former campaign staffer who accused her of sexual mistreatment
pool/cnn
Now playing
01:56
Hear what Dr. Gupta said when Cruz went maskless before
Now playing
02:30
Biden's decision to withdraw from Afghanistan is personal for this lawmaker
President Joe Biden speaks from the Treaty Room in the White House on Wednesday, April 14, 2021, about the withdrawal of the remainder of U.S. troops from Afghanistan.=
Andrew Harnik/AP
President Joe Biden speaks from the Treaty Room in the White House on Wednesday, April 14, 2021, about the withdrawal of the remainder of U.S. troops from Afghanistan.=
Now playing
02:10
Why Biden made his Afghanistan announcement in this particular room
U.S. President Joe Biden speaks from the Treaty Room in the White House about the withdrawal of U.S. troops from Afghanistan on April 14, 2021 in Washington, DC. President Biden announced his plans to pull all remaining U.S. troops out of Afghanistan by September 11, 2021 in a final step towards ending America's longest war.
Andrew Harnik/Pool/Getty Images
U.S. President Joe Biden speaks from the Treaty Room in the White House about the withdrawal of U.S. troops from Afghanistan on April 14, 2021 in Washington, DC. President Biden announced his plans to pull all remaining U.S. troops out of Afghanistan by September 11, 2021 in a final step towards ending America's longest war.
Now playing
01:03
Biden: It's time to end the forever war
Kinzinger
CNN
Kinzinger
Now playing
05:56
What Republican lawmaker fears after US troops leave Afghanistan
CNN
Now playing
02:45
Sen. Bernie Sanders: Trump was right about this
Rep. Matt Gaetz, R-Fla., questions witnesses during a House Armed Services Committee hearing on Capitol Hill, Wednesday, April 14, 2021, in Washington.
Manuel Balce Ceneta/AP
Rep. Matt Gaetz, R-Fla., questions witnesses during a House Armed Services Committee hearing on Capitol Hill, Wednesday, April 14, 2021, in Washington.
Now playing
02:59
Women detail late-night parties with Gaetz
One shot doses of the Johnson & Johnson COVID-19 vaccine are prepared at a clinic targeting immigrant community members on March 25, 2021 in Los Angeles, California.  The clinic, run by the St. John's Well Child and Family Center, estimates it has vaccinated more than 100,000 people in the Los Angeles area amid reports of two undocumented women who were refused coronavirus vaccinations in Orange County Rite Aid stores. Rite Aid has called the refusals mistakes in a written statement.  (Photo by Mario Tama/Getty Images)
Mario Tama/Getty Images
One shot doses of the Johnson & Johnson COVID-19 vaccine are prepared at a clinic targeting immigrant community members on March 25, 2021 in Los Angeles, California. The clinic, run by the St. John's Well Child and Family Center, estimates it has vaccinated more than 100,000 people in the Los Angeles area amid reports of two undocumented women who were refused coronavirus vaccinations in Orange County Rite Aid stores. Rite Aid has called the refusals mistakes in a written statement. (Photo by Mario Tama/Getty Images)
Now playing
02:48
These unlikely events are still more likely than a blood clot after the J&J vaccine
U.S. Marines conduct an operation to clear a village of Taliban fighters in July 2009 in Mian Poshteh, Afghanistan.
Joe Raedle/Getty Images
U.S. Marines conduct an operation to clear a village of Taliban fighters in July 2009 in Mian Poshteh, Afghanistan.
Now playing
03:19
Biden to announce Afghanistan withdrawal by September 11
roger wicker
CNN
roger wicker
Now playing
04:52
Sen. Wicker on Biden's infrastructure plan: Not ruling out tax hike
Representative Matt Gaetz (R-FL) arrives for a House Armed Services Subcommittee hearing with members of the Fort Hood Independent Review Committee on Capitol Hill on December 9, 2020 in Washington, DC.
Samuel Corum/Getty Images
Representative Matt Gaetz (R-FL) arrives for a House Armed Services Subcommittee hearing with members of the Fort Hood Independent Review Committee on Capitol Hill on December 9, 2020 in Washington, DC.
Now playing
03:02
Sources say Gaetz was denied meeting with Trump
CNN
Now playing
07:27
CNN anchor pushes back on Texas state lawmaker's defense of voting bill
CNN
Now playing
01:12
Tapper asks Buttigieg for infrastructure plan timeline
(CNN) —  

A federal judge on Monday dismissed a lawsuit that former Trump national security official Charles Kupperman had filed challenging a House subpoena for him to testify in the impeachment inquiry after the chamber withdrew their subpoena.

Judge Richard Leon wrote in a 14-page opinion that there is no expectation that the House will reissue the subpoena, therefore the lawsuit is unnecessary.

Notably, by ruling the case is moot, Leon was able to sidestep the thorny issue of separation of powers and whether the White House could claim some administration witnesses have immunity.

Leon, however, noted that things can change in the future.

“Have no doubt though, should the winds of political fortune shift and the House were to reissue a subpoena to Dr. Kupperman, he will face the same conflicting directives that precipitated this suit. If so, he will undoubtedly be right back before this Court seeking a solution to a Constitutional dilemma that has long-standing political consequences: balancing Congress’s well-established power to investigate with a President’s need to have a small group of national security advisors who have some form of immunity from compelled Congressional testimony.”

He added: “Fortunately, however, I need not strike that balance today!”

The House had withdrawn their subpoena for Kupperman’s testimony in November, writing in a court case, “The subpoena at issue in this matter has been withdrawn and there is no current intention to reissue it.”

Despite his relatively short tenure, Kupperman had initially drawn the interest of House investigators who believed he had first-hand knowledge of Trump’s decisions regarding Ukraine that have come under scrutiny in the impeachment investigation.

Specifically, Kupperman was listening in on the July 25 phone call when, according to a White House transcript, Trump pressed Ukrainian President Volodymyr Zelensky to investigate former Vice President Joe Biden.

Yet the White House sent a letter to Kupperman directing him not to comply with the subpoena he received from the House committees and maintaining that he would be protected by “constitutional immunity.”

A longtime associate of former national security adviser John Bolton, Kupperman served in several positions in the Reagan administration and subsequently served as a space operations executive at Lockheed Martin and in Boeing’s missile defense sector.

This story has been updated with additional background on the case.

CNN’s Zachary Cohen contributed to this report.