The foundation of the church was laid on Lady Day, 1678. The construction of the church was completed in two and a half years and it opened on 28 October 1680. In August 1678 Lingappa Naik, the Naik of Poonamallee, demanded a large sum of money from the EIC. The Company's merchant, Kasi Veeranna (Casa Verona), declined and sent him a harsh reply. A month later, when Lingappa visited Kasi Veeranna to express his condolences on the death of the former's wife, he asked the latter the reason why the Agent had not sent anyone to receive. To this Kasi Veeranna delivered an extremely arrogant reply which left the Naik fuming with anger. When Kasi Veeranna died in 1680, Lingappa sent a Havildar named Shakeel Ahmed to take over the settlement of Madras from the Company. He was promptly arrested by the Company's troops and dispatched across the frontier. Following this act by the English, Lingappa blockaded Madras and prevented goods and supplies from entering the settlement. He demanded that the English agree to pay him an annual tribute of 2,000 pagodas in order to lift the embargo. At one point of time, the situation became so serious that the Directors of the Council even contemplated the thought of moving the Company's factory to Gingee. Neither food nor fuel could be obtained, and the inhabitants starved. On 9 April 1681 Lieutenant Richardson was sent with fifty of the Company's troops to Gingee. Richardson reached the village of Khandur and besieged the town. At about midnight, Richardson took the town and drove away the Polygar. The required amount of provisions were obtained and transported back to Madras. On 3 June 1681 Streynsham Master was replaced with William Gyfford as the Agent of Madras. The population of Madras had increased to the point that it seemed difficult to retain the old Choultry courts. Hence, in 1678, the Government of Fort St George set up a judiciary with the Agent and the members of the Council as judges. Two English Choultry judges were appointed to hear cases concerning their Indian subjects. Master is credited with having introduced the role of a scavenger who was required to remove the dirt and filth of the streets. Scavengers were also empowered to collect the house-tax and other taxes. Watchmen were appointed to guard the settlement at night. Taverns, Hotels, Entertainment-houses and theatres had to be licensed.