A U.S. official has ended the prison sentence of a former Baltimore resident who confessed to becoming an al Qaeda courier, the Department of Defense announced Friday.