Answer
Selim III, the Ottoman Sultan who reigned from 1789 to 1807, primarily based himself in Istanbul, the Ottoman Empire's capital. This city served as the political, administrative, and cultural heart of the empire, hosting the imperial court, government institutions, and significant landmarks such as the Topkapi Palace and the Hagia Sophia.