In Philippi, Paul cast a spirit of divination out of a servant girl, whose masters were then unhappy about the loss of income her soothsaying provided. They seized Paul and Silas and dragged them into the marketplace before the authorities and Paul and Silas were put in jail. After a miraculous earthquake, the gates of the prison fell apart and Paul and Silas could have escaped but remained; this event led to the conversion of the jailor. They continued traveling, going by Berea and then to Athens, where Paul preached to the Jews and God-fearing Greeks in the synagogue and to the Greek intellectuals in the Areopagus. Paul continued from Athens to Corinth.