Melqart was the son of El the supreme deity of the Phoenicians. He was the principal god of the city of Tyre and was sometimes known as Baal. As Tyre gained supremacy throughout the Phoenician world, Melqart also gained prominence. Melqart is the only Phoenician god mentioned in the Hebrew Bible. The Temple of Melqart in Tyre was similar to that built by Solomon in Jerusalem. This is understandable as craftsmen from Tyre built the temple in Jerusalem and there would have had a natural exchange of religious ideas, as they were neighbours. Herodotus describes the main entrance to the sanctuary as being flanked by two columns or pillars known as ‘betyls’, one made of gold and the other of ‘smaragdus’— often translated as ‘emerald.’
The cult of Melqart was brought to Carthage, the most successful Tyrian colony, and temples dedicated to Melqart are found in at least three sites in Spain; Gades (modern Cadiz), Ebusus, and Carthago Nova. Near to Gades, at the Strait of Gibraltar, the mountains on either side were first known as the Pillars of Melqart, and then later changed to the Pillars of Heracles. Across the Strait of Gibraltar, at the Atlantic coast of Morocco was the Phoenician colony of Lixus, where there was another temple of Melqart.
In classical literature Melqart and Heracles have been referred to interchangeably, by many historians such as Josephus Flavius.
It is thought that the city of Cadiz was originally founded as Gadir (walled city) by the Phoenicians around 1100 BC, although hard evidence does not prove a date earlier than the 9th century BC. In his 2011 book, Ancient Phoenicia Mark Woolmer has claimed [1053.46] that the archaeological evidence indicates a date around the middle of the 8th century BC.
It is regarded as the most ancient functioning city in Western Europe. Gadir had a temple that was dedicated to the Phoenician god Melqart. Some consider that the columns of this temple were the origin of the reference of the Columns of Heracles. Commentators on Plato’s Atlantis story have linked Cadiz (formerly Gades) with the second son of Poseidon, Gadirus.