Pope Leo III was elected on December 26, 795 and he was consecrated the following day. His predecessor was Pope Adrian I, who died on December 25, 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.