Imprisoned political leaders to be released as elections approach