When Santos won the 2010 Colombian presidential election, he named Rivera Minister of National Defence on 28 July 2010, pending his inauguration into office, and when this took place on 7 August 2010, Rivera was sworn in as the new Minister of National Defence.