Devanahalli Fort is located 35 kilometers (22 mi) north of Bangalore city, at Devanahalli in the State of Karnataka, India. It was originally built in 1501 by Mallabairegowda, which remained in the hands of his descendants until the mid–eighteenth century. In 1749, the then Dalwai of Mysore, Nanjarajaiah, attacked the fort and occupied it. Later, the fort passed into the hands of Hyder Ali and subsequently Tipu Sultan. In 1791, Lord Cornwallis laid siege to the fort and took possession during the Anglo-Mysore War.Fort is spread over an area of 20 acres (8 ha). The roughly oval east oriented fortification veneered with dressed masonry has as many as 12 semi-circular bastions at regular intervals. A spacious battlement is provided towards the inner side of the fortification. The fort has entrances decorated with cut plasterwork at the east and west. The entrances are quite small, comfortable enough for the horses of yore.The bastions are provided with gun points built with lime and brick.