Berke–Hulagu War
Berke became a devout Muslim. His conversion resulted in the Blue Horde becoming predominantly Muslim, although there were still animists and Buddhists among them. Berke was angered by Hulagu's destruction of Baghdad and was determined to deal with Hulagu Khan, who had murdered the Caliph al-Musta'sim, and whose territorial ambitions in Syria and Egypt threatened Berke's fellow Muslims. Muslim historian Rashid-al-Din Hamadani quoted Berke Khan as telling his Mongols and Muslim subjects, in protest at the attack on Baghdad, "He (Hulagu) has sacked all the cities of the Muslims, and has brought about the death of the Caliph. With the help of God I will call him to account for so much innocent blood."
In the meantime, the Ilkhanids led by Kitbuqa had fallen out with the crusaders holding the coast of Palestine, and the Mamluks had secured a pact of neutrality with them, passing through their territory, and defeating the Ilkhanate army at the Battle of Ain Jalut in 1260. Kitbuqa was killed. Palestine and Syria were regained, the border remaining the Tigris for the duration of Hulagu's dynasty. Berke's vow of vengeance against Hulagu had to wait until the latter's return to his lands after the death of Möngke Khan.
Before his succession, Berke Khan also complained to Batu, "We helped Möngke to enthrone. But he forgot who the enemy is or friend is. Now, he is starving the lands of our friend Caliph. It is abject." It is notable that Berke kept his promise, allying himself with the Mamluks, (Berke sought an alliance with the Mamluk sultan Baibars against Hulagu) and when Hulagu returned to his lands in 1262, after the succession was finally settled with Kublai as the last Great Khan, and massed his armies to avenge Ain Jalut and attack the Mamluks, Berke Khan initiated a series of raids in force which drew Hulagu north to meet him. This was the first open conflict between Mongols, and signalled the end of the unified empire. In retaliation for these attacks, Berke and Hulagu slaughtered each other's ortogh merchants.
However the reasons for the conflict between Berke and Hulagu were both religious and territorial. Möngke Khan gave lands in current day Azerbaijan, which had been given to Jochi by Genghis Khan, to his brother Hulagu. Although Berke did not like the situation, he was patient until Möngke's death.
Berke at first desisted from fighting Hulagu out of Mongol brotherhood, he said, "Mongols are killed by Mongol swords. If we were united, then we would have conquered all of the world." But the economic situation of the Golden Horde due to the actions of the Ilkhanate led him to declare jihad because of the Ilkhanids domination of the wealth of northern Iran, and the Ilkhanate's demands for the Golden Horde to not sell slaves to the Mamluks.
In 1262, the conflict turned into open war. Hulagu Khan suffered a severe defeat in an attempted invasion north of the Caucasus in 1263. Hulagu's forces were crushed at the Terek river by Berke's nephew Nogai, forcing Hulagu into retreat; he died in 1265. Next Chagatai Khan Alghu invaded Khwarizm and annexed Golden Horde lands. The Jochid army unsuccessfully tried to halt his advance. Berke and massacred each other's ortoq merchants in the Golden Horde and Iran.
Berke also supported Great Khan claimant Ariq Böke in the Toluid Civil War, and minted coins in the name of Ariq Böke. However Kublai defeated Ariq Böke by 1264. Kublai called both Hulagu and Berke to discuss Ariq Böke. However, both of them noted that they could not attend the Kurultai at the time, and a new Kurultai was never held.