Shahs [1] ( Persian : خوارزمشاهیان , Kh wārezmšhāḥīān , "Kings of Khwarezmia " ) was a Persianate [2] [3] [4] Sunni Muslim dynasty of Turkic mamluk [5] origin which ruled Central Asia and Iran , first as vassals of the Seljuqs and later as independent rulers in the 11th century