The military junta came into power in February , after ousting unpopular president Mamadou Tandja , who had refused to leave officer when his term expired last year .