 The state was finally conquered by the forces of the self-proclaimed Mahdi, Muhammad Ahmad, in the late 19th century.
<clarity>  The state was finally conquered by the forces of the self-proclaimed Mahdi, Muhammad Ahmad, in the late 19th century.
 The state was then conquered by the forces of the self-proclaimed Mahdi, Muhammad Ahmad, in the late 19th century.