Late last year, as the National Archives ratcheted up the pressure on former President Donald Trump to return boxes of records he had taken from the White House to his Mar-a-Lago club, he came up with an idea to resolve the looming showdown: cut a deal.

Trump, still determined to show he had been wronged by the FBI investigation into his 2016 campaign’s ties to Russia, was angry with the National Archives and Records Administration for its unwillingness to hand over a batch of sensitive documents that he thought proved his claims.

In exchange for those documents, Trump told advisers, he would return to the National Archives the boxes of material he had taken to Mar-a-Lago, in Palm Beach, Florida.