settlement known as Partiskum of the Sarmatian Jazygian was here. Contemporary consensus among historians is that it is more likely permanent settlement occurred only after the Hungarian conquest. At the beginning of the 13th century, there were seven villages in the area, each with a population of 200–300 formed near the village church, a typical rural pattern. They were all destroyed by the Mongol Invasion. Some of the villages revived at the time of the Cumanians' colonization. As Kecskemét was situated at an important trading route, it grew as a customhouse and a market-place; in 1368 it was identified in one of King Louis I of Hungary's charters as an oppidium (town). The town's active economic life and relatively dense population attracted more traders, craftsmen and residents, including Jews who became an important part of the town. During the Turkish invasion, settlers from neighboring villages sought shelter in Kecskemét, which was protected by defensive palisades. They also were escaping the oppression of the spahi landlords. In addition to the protection of its setting, the town of Kecskemét had arranged to pay tax directly to the pasha in Buda, thus gaining his protection and enjoying a special situation. Kecskemét gradually absorbed the lands of those who had taken refuge in the town. Residents created a large common field for the animals they were breeding. By the beginning of the 18th century, residents held nearly 30,000 cattle, which grazed on an almost field. At the end of the 18th century, animal breeding started to decline in economic importance, as the fields had become overgrazed and denuded. It took nearly 100 years before the region developed its next major agricultural commodity. In the 19th century, Kecskemét was already part of an important wine district, but the city increased in importance after the vine-pest destroyed most vineyards in the hilly regions. Damage was less significant in the plains' areas of loose, sandy soil. In the 1870s, landowners planted large plantations of grapevines around the town. These were the basis of the 20th-century vineyards and wine industry of the 20th century in Kecskemét. Cottage-type settlements grew up at the vineyards to house workers, a pattern still characteristic of the rural areas around the town. The growth of the wine industry stimulated those of the food industry and trade. The city is still known for its barackpálinka, an apricot brandy. With their accumulation of capital, peasants