In late September 1914, 3rd Legions Infantry Regiment, which was part of forces of General Karl von Pflanzer-Baltin was sent to the Eastern Carpathians, in order to prevent Russian advance into Hungary and Transilvania. 1st and 4th Battalion of the Regiment were stationed in the mountain village of Ust-Chorna, which lies in the Gorgany range. On October 16, 1914, both units were sent to the area of Brustura. Rafajlowa, which lies on the other side of the range, was an important strategic point, and gateway to the attack towards east and south. On October 12, Rafajlowa was captured by a battalion commanded by Captain Józef Haller. Further objectives of Polish forces were to build a road through the Gorgany and initiate an offensive towards Nadworna, in order to pull enemy forces out of the valley of the Stryi River. Soldiers of the 3rd Battalion, tasked with construction of the road, managed to build it in record time of 50 hours. The road, which came to be known as "The Legions Road" connected Teresva, Kingdom of Hungary with Rafajlowa, which at that time was located on northern, Galician side of the mountains. Construction began on October 16, and was overseen by engineer and colonel Jan Sluszkiewicz. Mountain road was paved with 4-meter wooden planks, 28 bridges were constructed: some of them were 50-meter long. The length of the road was over 7 kilometers, and 5000 cubic meters of wood were used. On October 19the 2nd Brigade began to cross the mountains. The journey lasted 3 days, by October 22 in the evening, the headquarters with all officers, artillery and cavalry had reached Rajalfowa on the northern, Galician side of the range. Polish soldiers continued their advance northwards, capturing villages in the area.
The battle
The battle of Rafajlowa can be divided into three smaller battles, which took place in late 1914 and early 1915. The largest one was in the night of January 23/24, 1915. In mid-January 1915, news of a planned Austrian offensive reached Polish soldiers. Since Rafajlowa was regarded as a strategic point, the Russians were keen to forestall Austrian advance and attack first. Furthermore, on January 20 Józef Haller left for a short leave. On January 24, at 00:45, two Russian battalions, reinforced with Cossacks and artillery began the attack. They quickly captured first two lines of Polish trenches and a hospital building. For unknown reason, Russians decided then to stop their advance, and Poles, commanded by Captain Henryk Minkiewicz, took advantage of this. They regrouped and attacked the trenches, taking the enemy by surprise. Both sides used bayonets, and the battle continued until morning, when Polish reinforcements attacked from both sides, forcing Russians to retreat from Rafajlowa. Several traces of fighting can still be seen in Rafajlowa, including parts of the Legions Road and trenches. Furthermore, near former Roman Catholic church there is a commemorative obelisk. A Legions Cross was erected on the Pantyr mountain, there also is a field cemetery. Polish losses in the battle are unknown, they range from 5 to 40.