Megara is a historic town and municipality located in West Attica, Greece. It is situated in the northern section of the Isthmus of Corinth, positioned opposite the island of Salamis. In archaic times, Salamis belonged to Megara before it was eventually taken by Athens.
Historically, Megara was one of the four districts of Attica and served as a significant trade port. The city specialized in the exportation of wool, livestock such as horses, and other animal products. It possessed two harbors: Pagae on the Corinthian Gulf to the west and Nisaea on the Saronic Gulf of the Aegean Sea to the east.
In mythology, Megara was embodied by Nisos, one of the four mythic sons of King Pandion II. During the late 19th and early 20th centuries, the village was a frequent subject for the Greek painter Théodore Jacques Ralli, who created numerous paintings of the area between 1873 and 1909.