It was successfully assaulted by a force commanded by Arthur Wellesley on 15 December 1803 during the Second Anglo-Maratha War.
The fort takes its name from the Gawli (cow herds) who inhabited the Berar (modern day Amravati) for centuries.
The exact date of construction is not known but the Persian historian, Firishta, records that Ahmed Shah Wali, the ninth king of the Bahamani dynasty reconstructed Gawilgarh when he was encamped at Ellichpur in 1425.
The fortress was returned to the Killedar Rana Shivsingh Rajput of the Maratha Empire, after making peace with the British but they abandoned it.
The mosque has a square canopy with intricate stone lattice work and a seven arched façade.