Discussions about the prisoner exchange were confirmed last year, but the swap was announced after outgoing US president Joe Biden handed over to Donald Trump.