The unsuccessful war with Russia in 1792 revealed that the army of the Polish-Lithuanian Commonwealth was too small. The leaders of the uprising of 1794 realized that even if the still existent army of the Polish-Lithuanian Commonwealth joined the uprising, they had virtually no chance of victory. The introduction of the functions of the major-generals of powiats was determined by the aspiration of the leaders of the uprising to involve both the military and the civilians into military operations. In order to achieve this aim the time-tested practice of the Polish-Lithuanian Commonwealth when part of the armed forces was organized on the territorial principle by means of the general call-up of the noblemen to arms proved useful. The old form was rendered new content as in contrast to the standardbearers, whose main duty was to summon the noblemen of the powiat, major-generals had to organize and train armed forces of the powiats which consisted not only of the noblemen but of all the inhabitants of the powiats. Major-generals of powiats, in cooperation with regulation commissions and as their members, had to arrange the announcement of the resolutions of the authorities, organize the military mail service, defend warehouses and execute other commands of the leadership of the uprising and the regular army. Major-generals were to be elected by sejmiks of powiats and approved by the Supreme National Council of Lithuania. Major-generals of powiats were subordinate to the Secret deputation. Major-generals were elected in the majority of Lithuanian powiats within a month after the resolution regarding the introduction of the functions was passed in the Supreme National Council of Lithuania. Offices were established to facilitate the formal activities of major-generals and the assigned rotamasters of the parishes as well as the underling parochial links had to see to the execution of the orders in the powiat. The most active major-generals not only organized the armed forces of powiats but participated in the military operations themselves. The majority of the military units of powiats were undertrained due to the lack of time.