Before 1980, federal law prohibited interest to be generated on checking accounts maintained by federally insured banks.
Federal Law prohibited  interest to be generated on checking accounts, but now it's common practice.