Original sentence: Germans settled in Slovakia from the 12th to 15th centuries, mostly after the Mongol invasion of 1241, though there were probably some isolated settlers in the area of Bratislava earlier.In 1946 and 1947, about 33,000 persons were expelled from Slovakia by the Potsdam Agreement, while around 20,000 persons were entitled to remain in Slovakia due to special circumstances.On 28 October 1918 the National Council of Carpathian Germans in Kežmarok declared their loyalty to the Hungarian Kingdom, but to no avail as Slovakia became part of Czechoslovakia two days later.The Carpathian Germans were, as the Slovaks, subjected to strong Magyarization policies in the latter half of the 19th and the beginning of the 20th century (Slovakia was part of the Kingdom of Hungary at that period).The main settlement areas were in the vicinity of Bratislava and some language islands in the Spiš and the Hauerland.The settlers in the  Spiš region were known as Zipser Sachsen, or Spiš Saxons.They usually settled in older Slovak market and mining settlements.Until approximately the 15th century, the ruling classes of most Slovak cities consisted almost exclusively of Germans
Edited sentence: Germans settled in Hungarian highland (present-day Slovakia) from the 12th to 15th centuries, mostly after the Mongol invasion of 1241, though there were probably some isolated settlers in the area of Pressburg earlier.In 1946 and 1947, about 33,000 persons were expelled from present-day Slovakia by the Beneš decrees, while around 20,000 persons were entitled to remain in Slovakia due to special circumstances.Many Roma moved to the earlier German cities.On 28 October 1918 the National Council of Carpathian Germans in Käsmark declared their loyalty to the Hungarian Kingdom, but to no avail as Hungarian highland (present-day Slovakia) became part of Czechoslovakia two days later.The main settlement areas were in the vicinity of Pressburg and some language islands in the Zips and the Hauerland.The settlers in the Zips region were known as Zipser Sachsen, or Zips Saxons.They usually settled in older Hungarian highland market and mining settlements.Until approximately the 15th century, the ruling classes of most Hungarian highland cities consisted almost exclusively of Germans