Euclid of Megara, a Greek Socratic philosopher who lived around 400 BC, is mainly known for being confused with the famous mathematician Euclid of Alexandria by editors and translators of Euclid's Elements in the Middle Ages.