Several estimates suggest that the city contained over a million inhabitants at its peak. Many of the ''One Thousand and One Nights'' tales, widely known as the ''Arabian Nights'', are set in Baghdad during this period. It would surpass even Constantinople in prosperity and size.