Andres Pastrana , himself a former president , stepped down Tuesday , saying he had little choice after President Alvaro Uribe appointed Ernesto Samper to the post .