<human>:  When was the book ‘The Arabian Nights’ written?
<bot>: The Arabian Nights was written in the 16th century. It is a collection of stories written by an anonymous author who lived in the city of Baghdad. The stories are based on the oral traditions of the people of the Middle East, especially the tales told by traveling storytellers. The stories are often fantastical and magical, and are sometimes humorous.