Ayyubid dynasty
At times, some marriages would have a major impact on the politics of the region. The most notable example was the marriage of As-Salih Ayyub, the Sultan of the Kurdish Ayyubid dynasty, to Shajar al-Durr, a slave of Turkic origin from Central Asia. Following her husband's death, she became the Sultana of Egypt and the first Mamluk ruler. Her reign marked the end of the Ayyubid dynasty and the beginning of the Mameluk era, when a series of former Mamluk slaves would rule over Egypt and occasionally other neighbouring regions.