The former military chief resigned as president last year to avoid impeachment .