Original: Saint Martin was for many years a French commune forming part of Guadeloupe, which is an overseas région and département of France and is therefore in the European Union.
Simplified: It was part of Guadeloupe, which is an overseas région and overseas département of France.