Persian. “A ruler; a chief.” A term used for the supreme ruler of small countries of provinces. The Khan of the Tartars. It is also one of the titles of the Sultan of Turkey. It is also used for a caravansary or inn, being a corruption of the Persian khanah, ‘a home’.
Based on Hughes, Dictionary of Islam