In 1971 there had been only nine hundred madrassas in all of Pakistan. By the summer of 1988 there were about eight thousand official religious schools and an estimated twenty-five thousand unregistered ones, many of them clustered along the Pakistan-Afghanistan frontier and funded by wealthy patrons from Saudi Arabia and other Gulf states.