Complex sentence: After the French conquered Waalo, governor Louis Faidherbe invaded Cayor in 1868 in order to stop the Damel's opposition to the construction of the Dakar-Saint-Louis railway, defeating Lat Dior at the battle of Dekheule on 26 October 1868.
Split into simpler sentences: After the French conquered Waalo, governor Louis Faidherbe invaded Cayor in 1868 in order to stop the Damel's opposition to the construction of the Dakar-Saint-Louis railway. But the French defeated Lat Dior's forces at the battle of Dekheule on 26 October 1868.