Former hostage Joshua Boyle says he thought his captors were joking when they told him Donald Trump was president the United States.

Boyle, a Canadian, and his American wife, Caitlan Coleman, were held hostage for five years after being abducted by the Haqqani network. They were rescued last week with their three children by Pakistani forces.

In an interview with the Toronto Star, Boyle said he learned Trump was president when one of his captors told him the news before he was forced to make "a proof-of-life" video.

"It didn't enter my mind that he was being serious," Boyle said.

Boyle and Coleman didn't know Justin Trudeau was Canada's prime minister until after their rescue.

Boyle and Coleman were kidnapped by the Taliban-linked terror network in 2012 during a backpacking trip in Central Asia.