Pope Leo III was elected on December 26, 795, the day his predecessor Pope Adrian I was buried, and Leo III was consecrated the following day, December 27, 795.
This rapid succession was likely a move by the Romans to quickly select a new leader and prevent potential interference in the papal election from Frankish King, Charlemagne.