Complex sentence: The city then stayed under Muslim control for the next several hundred years, being passed back and forth through various Muslim factions, until decidedly conquered by the Ottomans in 1517, who maintained control until the British took it in 1917.
Split into simpler sentences: The city then stayed under Muslim control for the next several hundred years. It was passed back and forth through various Muslim factions until decidedly conquered by the Ottomans in 1517, who maintained control until the British took it in 1917.