By the 12th and 13th centuries, the Castrum Maris had been built in what is now Birgu. It might have been built instead of ancient buildings, possibly Phoenician or Roman temples, or an Arab fortress.[7]