Complex sentence: The Islamic Courts' mission was to bring social justice and combat iniquity thus after capturing Mogadishu, its mission transformed into imposing Sharia law in Somalia and the re instituting the constitution.
Split into simpler sentences: The Islamic Courts' original mission was to bring social justice and combat iniquity. However, after capturing Mogadishu, its mission transformed into imposing Sharia law all over Somalia and changing the constitution.