C. Improved technology meant that the country needed fewer farmers to meet its needs.
This is the best answer as advancements in agricultural technology have increased productivity, allowing fewer farmers to produce the same amount of food, leading to a decrease in the percentage of the labor force that works in agriculture.