 The 6th century BC poet Theognis also came from Megara.In the early 4th century BC, Euclid of Megara founded the Megarian school of philosophy which flourished for about a century, famous for the use of logic and dialectic.During the Celtic invasion in 279 BC, Megara sent a force of 400 peltasts to Thermopylae.