Ancient tradition connected Herculaneum with the name of the Greek hero Herakles (Hercules in Latin and consequently Roman Mythology), an indication that the city was of Greek origin. In fact, it seems that some forefathers of the Samnite tribes of the Italian mainland founded the first civilization on the site of Herculaneum at the end of the 6th century BC. Soon after, the town came under Greek control and was used as a trading post because of its proximity to the Gulf of Naples. The Greeks named the city Ηρακλείου. In the 4th century BC, Herculaneum again came under the domination of the Samnites. The city remained under Samnite control until it became a Roman municipium in 89 BC, when, having participated in the Social War ("war of the allies" against Rome), it was defeated by Titus Didius, a legate of Sulla.
After the eruption of Mount Vesuvius in 79 AD, the town of Herculaneum was buried under approximately 20 metres (50–60 feet) of mud and ash. It lay hidden and nearly intact for more than 1600 years until it was accidentally discovered by some workers digging a well in 1709. From there, the excavation process began but is still incomplete. Today, the Italian towns of Ercolano and Portici lie on the approximate site of Herculaneum. Until 1969 the town of Ercolano was called Resina, and it changed its name to Ercolano, the Italian modernization of the ancient name in honour of the old city.
The inhabitants worshipped above all Hercules, who was believed to be the founder of both the town and Mount Vesuvius. Other important deities worshipped include Venus, who was believed to be Hercules' lover, and Apollo