The fort was built in the year1540-41AD by Khudawand Khan on the order of Sultan Mehmood III for protection against Portuguese raids. It has 12-meter-wide battlements and four-meter-thick walls. Iron strips were used to bind its various elements and all its joints were filled with molten lead to make it impenetrable. There is an imposing gateway in the eastern wing. This fort now houses government offices.