Realizing that another civil war was inevitable, the king and dukes launched negotiations to obtain the assistance of foreign powers. First, Ladislaus visited the Kievan Rus', but he returned without reinforcements. He then went to Moravia, and persuaded Duke Otto I of Olomouc to accompany him back to Hungary with Czech troops. By the time they returned to Hungary, the royal army had already invaded the duchy and routed Géza's troops at the Battle of Kemej on 26 February 1074. Ladislaus met his fleeing brother at Vác, and they decided to continue the fight against Solomon. A legend preserved in the "Illuminated Chronicle" mentions that before the battle, Ladislaus "saw in broad daylight a vision from heaven" of an angel placing a crown on Géza's head. Another legendary episode also predicted the dukes' triumph over the king: an "ermine of purest white" jumped from a thorny bush to Ladislaus's lance and then onto his chest. The decisive Battle of Mogyoród was fought on 14 March 1074. Ladislaus commanded "the troops from Byhor" on the left flank. Solomon was defeated, but instead of surrendering to his cousins, he fled to the western borders of the kingdom to seek assistance from his brother-in-law Henry IV of Germany.