The grant for the land was given by Damarla Venkatapathy Nayak, the deputy of the Raja of Chandragiri. Francis Day and Andrew Cogan (the chief of the Masulipatnam Factory), was granted permission to establish a factory and trading post and a fort at Madrasapatnam or present Chennai in ______.