The Mardakan fortresses were built in 1187, in the time of Akhsitan, the son of Shirvanshah Manuchohr. The rectangular fortress is 22 m high. Its 76-step tower has two drinking water and 60 food wells. There is a circular tower 500 m away, is known as a “round fortress”. It is also called the “Six fortress” after Sheikh Abu Said Abulkheir. It is 12 m high. The Arabic inscriptions on it suggest that it was built by architect Abdulmajid Masud in 1232. The Tubashahi mosque, built in 1481, is one of the oldest local structures. All of them are believed to have an underground road connecting them to each other.