About midnight Paul and Silas were praying and singing songs to God as the other prisoners listened. Suddenly, there was a strong earthquake that shook the foundation of the jail. Then all the doors of the jail broke open, and all the prisoners were freed from their chains.