 Since the Middle Ages, 27 baths, 21 houses, defense towers, 20 mosques have been built in the Middle Ages, and its historic territory is rich in large-scale public buildings, leaving it second after Baku.The presence of 5 mosques, 7 baths and 5 pogroms in one neighborhood was an exception in Absheron.The word "Mashtaga" appeared before this village itself.