The Allied effort in East Africa and the Indian Ocean was principally a British undertaking. Initially its focus was against Italy in East Africa. It shifted to Japan during the Indian Ocean raid, then to the Vichy French on Madagascar, then to German U-boats in the Indian Ocean, then back to Japan as the British Far Eastern Fleet prepared to return to the Pacific Ocean.