In seventeenth- and eighteenth-century China, Buddhists and Confucians alike flooded local Buddhist monasteries with donations. As gentry numbers grew faster than the imperial bureaucracy, traditional Confucian careers were closed to many; but visible philanthropy could publicize elite status outside the state realm. Actively sought by fundraising abbots, such patronage affected institutional Buddhism.