The majority of popes throughout history have been elected through a papal conclave. However, there have been a few instances where popes were elected in different ways, such as appointment by a secular ruler.