 Later, it was under the kingdom of Golkonda.The British East India Company established a factory here in 1621, which closed in 1687 when all factories subordinate to Fort St. George were withdrawn.Census of India, Nizampatnam had a population of 20,982.