The Forever Trust: How Endowments Built Medieval Cities That Lasted
Team Ilm Ora · 18 October 2026

Walking through the historic districts of Cairo, Damascus, or Fez today, one encounters magnificent medieval hospitals, public libraries, neighborhood schools, and elaborate drinking fountains. What is remarkable is that many of these structures were not built using short-term government budgets or royal whims. Instead, they were funded by waqfs, which were permanent legal charitable endowments. A waqf was a brilliant legal mechanism that allowed a wealthy citizen to dedicate property, farmland, or commercial buildings entirely to public welfare forever. By locking these assets into a non-sellable legal trust, medieval societies created a self-sustaining engine of urban infrastructure that provided free services to citizens across generations.
The Legal Mechanics of a Perpetual Trust
To understand how a waqf worked, one must look at its legal framework. A benefactor would sign a formal legal contract before a judge, permanently removing a piece of income-generating property—such as a bustling market shop, an apartment building, or an agricultural orchard—from their personal ownership. The property was legally transferred to God, meaning it could never be sold, inherited, or seized by the state. The revenue generated by renting out the shops or harvesting the orchard was then strictly earmarked by the founder for a specific public cause. For example, half the rental income might pay the salaries of doctors at a local clinic, while the other half paid for medicine and building maintenance. This self-funding loop ensured the institution survived long after the original founder passed away.
Funding Hospitals, Education, and Clean Water
Waqfs financed virtually every aspect of medieval civic life that we associate with modern municipal government. In major cities, sprawling hospital complexes, known as bimaristans, were entirely funded by waqf endowments. These hospitals provided free medical care, surgery, and food to any citizen regardless of wealth or religion. Educational institutions, including schools and universities, relied on waqfs to pay teacher salaries and provide students with free housing, books, and food stipends. Additionally, waqfs funded thousands of roadside drinking fountains, public bathhouses, orphanages, and bridge repairs, ensuring that even the poorest urban residents had access to clean water, sanitation, and social support.
Protecting Cities Against Political Instability
One of the greatest strengths of the waqf system was its independence from political turmoil. In medieval times, dynasties rose and fell, rulers were overthrown, and tax funds were frequently redirected toward military campaigns. Because a waqf was legally locked outside government control, it functioned as an independent economic buffer. Even when a city was conquered or a new king took power, the endowments supporting the hospitals, schools, and water systems remained untouched because tampering with a religious and charitable trust was considered socially unacceptable and legally barred. This legal armor kept cities functioning smoothly through decades of political instability.
The Ancestor of Modern Philanthropic Foundations
The legal structure of the waqf served as a direct historical ancestor to modern nonprofit foundations and university endowment funds used worldwide today. Wealthy individuals throughout history adopted this model to channel private capital into public good, proving that sustainable urban infrastructure does not always require government taxation. By locking resources into permanent legal trusts, medieval societies built cities designed to care for their people across hundreds of years.
When private wealth is locked into permanent public trust, cities gain an anchor of care that outlives dynasties and protects generations to come.