In January 2004, in a German-mediated prisoner swap, Dirani along with 22 other Lebanese detainees, about 400 Palestinians, and 12 Israeli-Arab prisoners was released in exchange for the bodies of three Israeli soldiers and Israeli businessman Elchanan Tannenbaum.