In the early modern period, successor states to the Adal Sultanate and Ajuran Sultanate began to flourish in Somalia. These included the Hiraab Imamate, the Bari Dynasties, the Sultanate of the Geledi (Gobroon dynasty), the Majeerteen Sultanate (Migiurtinia), and the Sultanate of Hobyo (Obbia). They continued the tradition of castle-building and seaborne trade established by previous Somali empires.