The partition of Poland in 1795 and subsequent imposition of customs duties dealt a severe blow to the exports of Tokaji wine and precipitated the economic decline of the region. However, this was only the first of three major crises for Tokaj. The second occurred when the phylloxera epidemic reached Tokaj in 1885 and destroyed the vast majority of the vineyards in a matter of years. The third shock was when Hungary lost two-thirds of its territory under the peace Treaty of Trianon signed in June 1920, and thus Tokaj wine lost access to the majority of its domestic market. The region was also divided between Hungary and the newly created Czechoslovakia, which gained an area of 120 hectares (with the exception of 1938-1944, when Hungary took control over the territory). The latter now forms part of an adjoining wine region in Slovakia with approximately 908 hectares of classified Tokaj vineyards.