Bunyan was released in January 1672, when Charles II issued the “Declaration of Religious Indulgence” which meant that people were free to worship God in the way they wanted. The king had done this mainly because he wanted the Catholics to have less power. Non-conformist sects could register and get a license. Bunyan became pastor (priest) of the Bedford church. In March 1675, he was again imprisoned for preaching (because Charles II withdrew the Declaration of Religious Indulgence). This time he seems to have been in the Bedford town gaol on the stone bridge over the river Ouse. After a few months, he was let out. He was a very popular preacher, so he was not arrested again. His book "The Pilgrim's Progress" was published in 1678. He also wrote several other books about religion, but "The Pilgrim's Progress" was the one that became extremely popular. Because Bunyan did not have a formal education he wrote in a very direct style which ordinary people could understand. A passage from Part Two of "The Pilgrim's Progress" beginning "Who would true Valour see" is sung regularly as a hymn.