When the Apostle Paul was in Philippi preaching the gospel he was accused of sedition, beaten and thrown into prison. During the middle of the night God caused an earthquake and miraculously all the prison doors were opened and the chains binding the prisoners were loosed.
“And the keeper of the prison, awaking from sleep and seeing the prison doors open, supposing the prisoners had fled, drew his sword and was about to kill himself. But Paul called with a loud voice, saying, ‘Do yourself no harm, for we are all here.’ Then he called for a light, ran in, and fell down trembling before Paul and Silas. And he brought them out and said, ‘Sirs, what must I do to be saved?'” (Acts 16:27-33).