The ethnic cleansing of both Polish and Germans 1945–46 included many millions of people.[6][7] The Polish territory in 1919–39 covered an area of 386,418 square kilometres (149,197 square miles).[8] But from 1947, Poland's territory was reduced to 312,679 square kilometres (120,726 square miles), so the country lost 73,739 square kilometres (28,471 square miles) of land. This difference amounts almost to the size of the Czech Republic, although Poland ended up with a much longer coastline on the Baltic Sea compared to its 1939 borders.