When President Sata went abroad for medical treatment on 19 October 2014, Lungu was left in charge of the country in his absence. When Sata died on 28 October 2014, Vice-President Guy Scott took over as Acting President, and Lungu was seen as one of the main contenders to ultimately succeed Sata in a presidential by-election.