Did popes elect cardinals?

Popes do not elect cardinals, they name them.