sentence1: The second most charming and lively of the coast's resorts, Amalfi was once a powerful rival to the maritime republics of Pisa and Genoa, with trading posts in the 10th and 11th centuries in Palestine, Egypt, Cyprus, Byzantium, and Tunis.
sentence2: Amalfi has enjoyed great revenue and a lively atmosphere thanks to their advertising program.