 Ancient sources refer to a major military alliance between the Kingdom of Kush and one of its allies, the Kingdom of Punt, against the armies of Ancient Egypt.In the early Middle Ages, the Ajuran Empire expanded its territories and established its hegemonic rule through a skillful combination of warfare, trade linkages and alliances, and defeated many times against the Portuguese in the Indian Ocean.The Kingdom of Ifat successfully conquered the Kingdom of Shewa in the same time-period.