the ajuran also controlled the water resources. they built wells and cisterns on the rivers shebelle and jubba. many of these wells are still working. the rulers also developed a new system of agriculture and taxation, which were used in parts of the horn of africa until the 19th century. the later rulers of the ajuran were not as successful: there were rebellions, and by the late 17th century the empire had fallen apart into a number of smaller states. the most prominent of these was probably the geledi sultanate.