Debt relief, or debt forgiveness, has been practiced in many societies since antiquity. Periodic debt remission was institutionalised in the Ancient Near East and contributed to the stability of its societies. In ancient Greece and Rome the laws were more creditor-friendly and debt cancellation was one of the major demands of the poor, only occasionally implemented by the government. Medieval canon law contained provisions for the annulment of debts owed by borrowers in distress, which influenced modern personal bankruptcy law.