The Cossack structure arose, in part, in response to the struggle against Tatar raids. Socio-economic developments in the Polish-Lithuanian Commonwealth were another important factor in the growth of the Ukrainian Cossacks. During the 16th century, serfdom was imposed because of the favorable conditions for grain sales in Western Europe. This subsequently decreased the locals' land allotments and freedom of movement. In addition, the Polish-Lithuanian Commonwealth government attempted to impose Catholicism, and to Polonize the local Ukrainian population. The basic form of resistance and opposition by the locals and burghers was flight and settlement in the sparsely populated steppe.