Malawi’s economic planning minister announced his resignation on Friday.

Goodall Gondwe’s notice came five days after being arrested under the charge of treason in connection with a suspected coup plot last year against President Joyce Banda. Gondwe was charged along with 10 other senior officials.

Those arrested, including Peter Mutharika, the younger brother of late president Bingu wa Mutharika, are accused of trying to prevent then vice-president Banda from assuming power after the death of Mutharika on April 5 last year.

Even though they will be released on bail on Thursday, Gondwe said in an interview with Reuters: “I have resigned from cabinet today for obvious reasons. I can’t continue to serve in cabinet when I am facing charges.”

Gondwe was the former vice-president of the International Monetary Fund and oversaw Malawi’s rapid economic growth for several years before being dropped from the cabinet.