Please be aware of the Forum Rules of Conduct.
In Theory at that time the Pope was not declared by the cardinals, but a gathering of the clergy and sons of the Church (noblemen) and it then was ratified by the Byzantine Emperor. The current system had it roots in the 13th century.