The Pilgrim's Progress, as well as penning several tracts that may have brought him a little money. In 1671, while still in prison, he was chosen as pastor of the Bedford Meeting. By that time there was a mood of increasing religious toleration in the country and in March 1672 the king issued a declaration of indulgence which suspended penal laws against nonconformists. Thousands of nonconformists were released from prison, amongst them Bunyan and five of his fellow inmates of Bedford Gaol; Bunyan was freed in May 1672 and immediately obtained a licence to preach under the declaration of indulgence. Later life Following his release from prison in 1672 Bunyan probably did not return to his former occupation of a tinker. Instead, he devoted his time to writing and preaching. He continued as pastor of the Bedford Meeting and traveled over Bedfordshire and adjoining counties on horseback to preach, becoming known affectionately as "Bishop Bunyan". His preaching also took him to London, where Lord Mayor Sir John Shorter became a friend and presented him with a silver-mounted walking stick. The Pilgrim's Progress was published in 1678 by Nathaniel Ponder and immediately became popular, though probably making more money for its publisher than for its author. Two events marred Bunyan's life during the later 1670s. Firstly he became embroiled in a scandal concerning a young woman called Agnes Beaumont. When going to preach in Gamlingay in 1674 he allowed Beaumont, a member of the Bedford Meeting, to ride pillion on his horse, much to the anger of her father, who then died suddenly. His daughter was initially suspected of poisoning him, though the coroner found he had died of natural causes. In 1676-7 he underwent a second term of imprisonment, probably for refusing to attend the parish church. This second imprisonment lasted six months. In 1688, on his way to London, Bunyan made a detour to Reading, Berkshire, to try and resolve a quarrel between a father and son. Continuing to London to the house of his friend, grocer John Strudwick of Snow Hill in the City of London, he was caught in a storm and fell ill with a fever. He died in Strudwick's house on the morning of 31 August 1688 and was buried in the tomb belonging to Strudwick in Bunhill Fields nonconformist burial ground in London. Bunyan's estate at his death was worth £42 19s 0d (about