26 And suddenly there was a great earthquake, so that the foundations of the prison were shaken : and immediately all the doors were opened , and every one's bands were loosed .