Al-Walid fled from Afghanistan to Iran after the American invasion and was held there under house arrest from 2003 until April 2012.[4][8][9] At that time, Iran extradited him to Mauritania, where he was held in prison until his release on July 7, 2012. He was released after renouncing his ties to al-Qaeda and condemning the September 11 attacks.[9][10]