16 Once, as we were going to the place of prayer, we met a slave girl who had a spirit of fortune-telling and who had brought her owners a great deal of money by predicting the future.

17 She would follow Paul and us and shout, "These men are servants of the Most High God and are proclaiming to you a way of salvation!"

18 She kept doing this for many days until Paul became annoyed, turned to the spirit, and said, "I command you in the name of Jesus Christ to come out of her!" And it came out that very moment.

19 When her owners realized that their hope of making money was gone, they grabbed Paul and Silas and dragged them before the authorities in the public square.

20 They brought them before the magistrates and said, "These men are stirring up a lot of trouble in our city. They are Jews

21 and are advocating customs that we are not allowed to accept or practice as Romans."

22 The crowd joined in the attack against them. Then the magistrates had them stripped of their clothes and ordered them beaten with sticks.

23 After giving them a severe beating, they threw them in jail and ordered the jailer to keep them under tight security.

24 Having received these orders, he put them into the inner cell and fastened their feet in leg irons.

25 Around midnight, Paul and Silas were praying and singing hymns to God, and the other prisoners were listening to them.

26 Suddenly, there was an earthquake so violent that the foundations of the prison were shaken. All the doors immediately flew open, and everyone's chains were unfastened.

27 When the jailer woke up and saw the prison doors wide open, he drew his sword and was about to kill himself, for he thought the prisoners had escaped.

28 But Paul shouted in a loud voice, "Don't hurt yourself, for we are all here!"

29 The jailer asked for torches and rushed inside. He was trembling as he knelt in front of Paul and Silas.

30 Then he took them outside and asked, "Sirs, what must I do to be saved?"

31 They answered, "Believe on the Lord Jesus, and you and your family will be saved."

32 Then they spoke the word of the Lord to him and everyone in his home.

33 At that hour of the night he took them and washed their wounds. Then he and his entire family were baptized immediately.

34 He brought them upstairs into his house and set food before them, and he and everyone in his house were thrilled to be believers in God.

35 When day came, the magistrates sent guards and said, "Release those men."

36 The jailer reported these words to Paul, saying, "The magistrates have sent word to release you. So come out now and go in peace."

37 But Paul told them, "They have had us beaten publicly without a trial and have thrown us into jail, even though we are Roman citizens. Now are they going to throw us out secretly? Certainly not! Have them come and escort us out."

38 The guards reported these words to the magistrates, and they were afraid when they heard that they were Roman citizens.

39 So they came, apologized to them, and escorted them out. Then they asked them to leave the city.

40 Leaving the jail, they went to Lydia's house. They saw the brothers, encouraged them, and then left.