When Arabs conquered Sicily in the ninth century and turned to the mainland , Naples at first sought an alliance .
After the Arabs conquered Sicily and went to the mainland , they accepted an alliance from Naples .