Besides residences, a number of other buildings were located in this area, including the public and private stables, the office of the Bureau of the Land Tax (''diwan al-kharaj''), and the great prison. The markets, as laid out by al-Mu'tasim, are described as having broad rows, with each type of merchandise sold in a separate section. Near the markets was the gibbet from which the rebel Babak Khorramdin was hanged (''khashabat Babak''), and which served as a place for displaying executed persons. On the Tigris were a great number of wharves, where provisions from Mosul and other cities were unloaded.