accused has been in custody since his conviction in 2007