Abu Umar was the king of Menorca who lived in the castle of Santa Àgueda near Ferreries. King Pere III of Catalonia visited Menorca while traveling to conquer Africa. However, Abu Umar betrayed Pere III by warning his friends in Africa of the impending attack. When Pere III arrived in Africa, he found they were waiting for him armed for battle. After many days of fighting, Pere III decided to return home. Seeking revenge for the betrayal, Pere III planned to take Abu Umar's lands and castles in Menorca. However, before invading, Pere III died and his son Alfons III led the attack instead. Alfons