this qanat completely fell into ruin because the desert sand filled it up, but later Amir Choopan repaired the qanat and made it flow again in Mecca.” There are also other historical texts proving that the Abbasids were concerned about qanats. For example, according to the “Incidents of Abdollah bin Tahir’s Time” written by Gardizi, in the year 830 AD a terrible earthquake struck the town of Forghaneh and reduced many homes to rubble. The inhabitants of Neyshaboor used to come to Abdollah bin Tahir in order to request him to intervene, for they fought over their qanats and found the relevant instruction or law on qanat as a solution neither in the prophet's quotations nor in the clerics’ writings. So Abdollah bin Tahir managed to bring together all the clergymen from throughout Khorasan and Iraq to compile a book entitled “Alghani” (The Book of Qanat). This book collected all the rulings on qanats which could be of use to whoever wanted to judge a dispute over this issue. Gardizi added that this book was still applicable to his time, and everyone made references to this book. One can deduce from these facts that during the above-mentioned period the number of qanats was so considerable that the authorities were prompted to put together some legal instructions concerning them. Also it shows that from the ninth to eleventh centuries the qanats that were the hub of the agricultural systems were also of interest to the government. Apart from The Book of Alghani, which is considered as a law booklet focusing on qanat-related rulings based on Islamic principles, there is another book about groundwater written by Karaji in the year 1010. This book, entitled "Extraction of Hidden Waters", examines just the technical issues associated with the qanat and tries to answer the common questions such as how to construct and repair a qanat, how to find a groundwater supply, how to do leveling, etc.. Some of the innovations described in this book were introduced for the first time in the history of hydrogeology, and some of its technical methods are still valid and can be applied in qanat construction. The content of this book implies that its writer (Karaji) did not have any idea that there was another book on qanats compiled by the clergymen. There are some records dating back to that time, signifying their concern about the legal vicinity of