Mr. Anderson had been in charge of prosecuting several hundred politicians , businessmen and former military officers involved in a failed April 2002 coup that briefly ousted President Hugo Chavez .