After deposing Pope John XII in December 963, Otto I influenced the election of Leo VIII to replace him.123