WASHINGTON (CBSMiami) – In a newly surfaced letter from the alleged mastermind behind 9/11 to former President Barack Obama, the Guantanamo Bay detainee says the U.S. brought the 2011 attack on itself.

“It was not we who started the war against you in 9/11. It was you and your dictators in our land,” Mohammed, 51, wrote in the letter.

Though the letter was dated January 2015, it only reached the White House a few days before Obama left office after a military judge ordered its delivery.

Prison officials at the Guantanamo Bay facility, where Mohammed was being detained, had refused to pass along the letter because it could be considered propaganda.

Mohammed addressed the letter to Obama, calling him “the head of the snake” and president of “the country of oppression and tyranny.”

One section read, “Why did 9/11 happen? And Why May it Happen Again?”

“The war crimes perpetrated in Palestine since 1948, and those taking place in Gaza today, are the clearest indication of why 9/11 happened, and why it may happen against in the future,” he wrote as an answer in the letter.

Mohammed has been held at the prison at Guantanamo Bay since 2006 after being captured in Pakistan in 2003.

“I will be happy to be alone in my cell to worship Allah the rest of my life and repent to Him all my sins and misdeeds,” he wrote in the letter. “And if your court sentences me to death, I will be even happier to meet Allah and the prophets and see my best friends whom you killed unjustly all around the world and to see sheik Osama bin Laden.”