After the Union of Lublin of 1569, according to which the city came under the rule of the Polish nobility, many inhabitants of Pryluky and nearby villages began to run away, seeking freedom in the vast Dnieper steppes. Oppressed peasants from other areas of central and eastern Ukraine took refuge there too. Settlements founded by the runaways in the late 15th-early 16th centuries occupied large territories in the vicinity of Kyiv and Cherkasy. Thus grew the Cossack community. Scared by the proliferation and popularity of Cossacks, Poland tried to suppress this spontaneous resistance but did so in vain.