The real case that inspired Haq stems from the landmark Shah Bano judgment of 1985, a legal earthquake that redefined how India understood women's rights, secular law and religious identity. When a divorced Muslim woman sought maintenance under Section 125 of the CrPC, the Supreme Court ruled that the Constitution's promise of equality was not contingent upon personal law.