When Arabs conquered Sicily in the ninth century and turned to the mainland, Naples at first sought an alliance.
Naples sought an alliance with the Arabs after they conquered Sicily.
I don't think you have enough time to finish it.