Sudan was a collection of mostly autonomous, non-cohesive kingdoms and tribes until the 1820s, when Turkish-Egyptian forces took control of the territory and created a colonial administration. However, neither the original invaders nor the religious leader Muhammad ibn Abdalla, who came in the 1880s, were able to bring southern Sudan under their control. Although Mr. Abdalla, known as "the Mahdi," did unify some of the central and western tribes with what is now northern Sudan, the South remained a loose confederation of kingdoms and tribes.