On 20 January 2015 Lungu contested the presidential by-election and beat his closest rival Hakainde Hichilema of the United Party for National Development. He was declared the winner by the Electoral Commission of Zambia on 24 January.