Passage: Difficult economic times, manifested by increasing incidents of agrarian rioting, led to calls for social reforms. In addition to the old high rents, taxes, and interest rates, the average citizen was faced with cash payments for new taxes, military conscription, and tuition charges for the newly introduced compulsory education. The people needed more time for productive pursuits while correcting social abuses of the past. To achieve these reforms, the old Tokugawa class system of samurai, farmer, artisan, and merchant was abolished by 1871, and, even though old prejudices and status consciousness continued, all were theoretically equal before the law. Actually helping to perpetuate social distinctions, the government named new social divisions: the former daimyō became peerage nobility, the samurai became gentry, and all others became commoners. Daimyō and samurai pensions were paid off in lump sums, and the samurai later lost their exclusive claim to military positions. Former samurai found new pursuits as bureaucrats, teachers, army officers, police officials, journalists, scholars, colonists in the northern parts of Japan, bankers, and businessmen. These occupations helped stem some of the discontent this large group felt; some profited immensely, but many were not successful and provided significant opposition in the ensuing years.

Question: What two groups received pensions in lump sums?
Daimyō and samurai