The modern street pattern of Kennington was formed by the early nineteenth century. The village had become a semi-rural suburb with grand terraced houses. In the early nineteenth century, Kennington Common was a place of ill-repute. Various attempts were made by the Grand Surrey Canal to purchase the land to build a canal basin, but all of these failed. Because the area had been so rapidly developed and populated in the second half of the eighteenth century, by the nineteenth century, the Common was no longer used for grazing cattle and other agricultural purposes. It became a rubbish dump, a meeting place for radical crowds and an embarrassment to the area. Common rights were extinguished over one corner of the land and in 1824, St. Mark's Church was built on the site of the gallows. One of the four "Waterloo Churches" of south London, the church was opened by the Archbishop of Canterbury. In 1852, at the initiative of the minister of St. Mark's Church, the Common was enclosed and became the first public park in south London. Pockets of land between the main roads were built upon in the early nineteenth century. Walcot Square and St Mary's Gardens were laid out in the 1830s on land formerly used as a market garden. Imperial Court, on Kennington Lane, was built in 1836 for the Licensed Victuallers' School. The first stone was laid by Viscount Melbourne, in the name of King William IV. The Oval cricket ground was leased to Surrey County Cricket Club from the Duchy of Cornwall in 1845, and the adjacent gasometers (themselves an international sporting landmark) were constructed in 1853. Dense building and the carving-up of large houses for multiple occupation caused Kennington to be "very seriously over-populated in 1859, when diphtheria appeared" (recorded by Karl Marx in "Das Kapital"). The church of St John the Divine, Kennington, which was to be described by the poet John Betjeman as "the most magnificent church in South London", was designed by George Edmund Street (architect of the Royal Courts of Justice on Strand, London), and was built between 1871 and 1874. The Durning Library, at Kennington Cross, was designed in 1889 by S. Sidney R. J. Smith, architect of the Tate Gallery (as it then was; now Tate Britain), and is a fine example of the Gothic Revival style. The library was a gift to the people of Kennington from Jemina Durning Smith.