The Khan's Palace is located in the town of Bakhchisaray, Crimea, Ukraine. It was built in the 16th century and became home to a succession of Crimean Khans. The walled enclosure contains a mosque, a harem, living quarters, and gardens. The palace interior has been decorated to appear lived in and reflects the traditional 16th century Crimean Tatar style. One courtyard contains a small fountain whose sad story so moved the Russian writer Pushkin when he visited it that he wrote a whole poem to it — "The Fountain of Bakhchisaray".