Oyo Empire gunshots scared the Oyo cavalry horses and prevented their charging. Dahomey's army also built fortifications such as trenches, which forced the Oyo army to fight as infantry. The battle lasted four days, but the Yoruba were eventually victorious after reinforcements arrived. Dahomey was forced to pay tribute to Oyo. The Yoruba invaded Dahomey seven times before finally subjugating the small kingdom in 1748. With its cavalry, Oyo campaigned successfully in conquest and suppression over great distances. The Oyo army was able to attack defensive fortifications, but it was harder to supply an army, and they withdrew when supplies ran out.
Islam in Nigeria built in Ọyọ-Ile in AD 1550 although, there were no Yoruba Muslims, the Mosque only served the spiritual needs of foreign Muslims living in Ọyọ. Progressively, Islam came to Yoruba land, and Muslims started building Mosques: Iwo town led, its first Mosque built in 1655 followed by Iṣẹyin, in 1760; Lagos, 1774; Ṣaki, 1790; and Oṣogbo, 1889. In time, Islam spread to other towns like Oyo (the first Oyo convert was Solagberu), Ibadan, Abẹokuta, Ijẹbu-Ode, Ikirun, and Ẹdẹ before the 18th century Sokoto jihad. Several factors contributed to the rise of Islam in Yoruba land by mid 19th century. Before