In the 17th century, the Kurdish Baban emirate was founded in southeastern Iraqi Kurdistan; Sulaymaniyah became its capital in 1784. Under its rule, Kurdish literature flourished, the poetry of Nalî and Salîm was written, and the first modern Kurdish school was established.