In October 1086, Alfonso had a battle with the Almoravids. They attacked each other at Sagrajas, where Alfonso was defeated. The loss made Alfonso reconsider banishing El Cid. Alfonso called him back, hoping El Cid could defeat the Almoravids. However, the trust issues led the two men to go their separate ways yet again. The Alfonso and El Cid were meet together with their armies, but they failed to because of miscommunication. People convinced King Alfonso that El Cid had planned to not show up, and let Alfonso and his army be defeated. Once again, Alfonso exiled El Cid.