It was built by the Crusaders in the 12th century from indigenous limestone and the remains of Roman structures. The finished structure was surrounded by a moat. It belonged to the genoese Embriaco family, whose members were the Lords of Gibelet (as Byblos/Lebanon was called during Middle Ages). Saladin captured the town and castle in 1188 and dismantled the walls in 1190. Later, the Crusaders recaptured Byblos and rebuilt the fortifications of the castle in 1197. The Byblos Castle has distinguished historical buildings for neighbors. Nearby stands a few Egyptian temples, Phoenician Royal Necropolis and the Roman amphitheatre. These are testament to the varied and rich history of the ancient city of Byblos.