Seljuq dynasty
The Emirate of Halab was established in 945 by the Hamdanid dynasty and lasted until 1086, when it became a sultanate under the Seljuq dynasty. The sultanate was sometimes ruled together with Damascus under the same sultan.