A Treaty of Lausanne in 1923 overturned the agreements of Sèvres, and the flood of refugees in both directions across the Aegean Sea was formalized into population exchanges on the basis of religion, not language. The effect was that religious identity transmuted into national identity: Christians became Greeks regardless of what language they then spoke, and Muslims became Turks.