WASHINGTON (AP) — Special counsel Jack Smith asked a federal judge on Monday to dismiss the case accusing President-elect Donald Trump of plotting to overturn the 2020 election, citing longstanding Justice Department policy shielding presidents from prosecution while in office.

The move announced in court papers marks the end of the Justice Department’s landmark effort to hold Trump accountable for what prosecutors called a criminal conspiracy to cling to power in the run-up to his supporters’ attack on the U.S. Capitol on Jan. 6, 2021.

In court papers. prosecutors said the Justice Department’s position “is that the Constitution requires that this case be dismissed before the defendant is inaugurated.”

The decision was expected after Smith’s team began assessing how to wind down both the 2020 election interference case and the separate classified documents case in the wake of Trump’s victory over Vice President Kamala Harris. The Justice Department believes Trump can no longer be tried in accordance with longstanding policy that says sitting presidents cannot be prosecuted.