The Battle of Segesvár (Transylvania, now Sighișoara, Romania), also called the Battle of Fehéregyháza, was a battle in the Hungarian Revolution of 1848, fought on 31 July 1849 between the Hungarian revolutionary army under the command of Lieutenant General Józef Bem and the Russian V Corps under General Alexander von Lüders. The battle ended with the victory of the Russian army, which was presumably the death location of the Hungarian poet and national hero Sándor Petőfi, but his body was never found. Furthermore, The Chief of Staff Russian V corps, General Grigory Skariatin was killed at the battle. Although heavy, the defeat was not decisive for the Hungarian army of Transylvania, Lieutenant General Józef Bem continuing his resistance in the province until the Battle of Nagycsűr on 6 August 1849.

Background Between 20–21 July, after several battles, Lieutenant General Józef Bem chased out the Austrian corps of Transylvania commanded by General Eduard Clam-Gallas from Székely Land. Then, on 23 July, passing the Ojtoz pass, he broke into Moldova, where he defeated the Russian troops of General Ustrugov, advanced to Onești and Târgu Ocna, making a proclamation to the people from here.. Seeing that the population had no will to rise up against the Russians, he returned to Transylvania.Bánlaky József: A segesvári csata. 1849. július 31-én. A magyar nemzet hadtörténete XXI Arcanum Adatbázis Kft. 2001 His next plan was to take back Nagyszeben and the Vöröstorony Pass.

On 19–20 June the Russians broke into Transylvania, scoring some victories against the Hungarian forces, but Bem, with his clever tactical movements, managed to prevent them from accomplishing their task of pacifying the Székely Land and breaking into Hungary in order to attack from behind the Hungarian troops fighting against the main Austrian army, led by Lieutenant Field Marshal Julius Jacob von Haynau, and the Russian army led by Field Marshal Ivan Paskevich. The commander of the V. Russian corps, General Alexander von Lüders, was forced for the third time to return from the Maros valley because Bem threatened to cut his supply lines in the Székely land. He decided to eradicate once and for all the resistance from the Székely land, and for this he concentrated all the troops at his disposal: 30,000–35,000 men for a concentric attack against the enemy.. For this purpose the army under his command had to advance through Segesvár to Székelyudvarhely, the column of General Magnus Johann von Grotenhjelm to Marosvásárhely, the Austrian corps led by General Clam-Gallas and the Dannenberg column which had to break into Transylvania by the Ojtoz Pass to Csíkszereda, and finally the column of Major General Dyck stationing at Fogaras to Kőhalom, and to join, if needed, with the main army of Lüders.

Prelude Lüders's main column, which started its march from Nagyszeben to Segesvár had 9,100–9,200 soldiers and 32 cannons.. Bem too wanted to crush the Russians also with a concentrated attack. With the column under his command, consisting of the Beszterce, Nagyszeben and Székely divisions, the units of the Kolozsvár and the brigade of Colonel József Dobay coming from Rika he planned to attack Lüders' Russian troops from three directions. If all three columns had arrived on the battlefield, Bem would have had around 8,000 soldiers at his disposal, while the siege troops from Gyulafehérvár under the command of Colonel Miksa Stein had to execute a diversion attack towards Nagyszeben. But, without Bem's knowing, the troops from Kolozsvár of Colonel Farkas Kemény on 31 July arrived only in Marosvásárhely, while Dobay was beaten on 30 July by the Russian troops of Major General Dyck at Kőhalom. Initially Bem wanted to march through Székelykeresztúr towards Székelyudvarhely, but when he heard that Lüders was around Segesvár, he turned towards the same direction. However, he sent a battalion to help the division of Székely land under the leadership of colonel Sándor Gál, so at the start of the battle he had only 2400 soldiers. When Bem arrived, he found in Fehéregyháza the Russian vanguard, chasing them out of the village.

Lüders was on the subsequent battlefield when Bem's army arrived in Fehéregyháza from the direction of Székelyudvarhely. Seeing the small number of the Hungarian troops, he could not believe that they wanted to fight, thinking that Bem wanted only to do a demonstration attack. At the beginning Lüders believed that Bem wanted to lure all his forces into fighting while the main Hungarian troops would attack him from the direction of Marosvásárhely, so he kept the bulk of his forces on the road coming from this town. He massed 4500-4600 soldiers (five battalions of infantry, seven cavalry companies and two batteries), augmented with 1,000 others to the northern region of the battlefield, to block the road from Marosvásárhely. The weaker point of the Russian frontline was the Southern section, consisting from the Segesvár forest, because it could be more easily bypassed than the left wing protected by the Küküllő river. Here, on the right flank, Lüders placed five Jäger battalions, one sapper, four cavalry and three Cossack companies and eight cannons to the Eastern exit of Segevár on both sides of the road heading towards Székelykeresztúr. Here these troops were displayed as follows: three battalions gathered in one mass between the main road and the Nagyküküllő river, another battalion right to the road on the mountain slope, while the fifth battalion was kept in reserve at the Eastern exit of Segesvár, the artillery in the center, while the cavalry was placed behind the left wing, in a loop of the Nagyküküllő, under general Dimidov.

The Hungarian troops deployed on the mostly plain lands between Sárpatak and Ördögpatak (then distinct villages, today they are part of Fehéregyháza), while their left wing in the Ördögerdő, on a hilltop's pronounced slope. The artillery was in the center, on a less steep slope of the same hilltop, between the center and the right wing, while the bulk of the infantry (seven companies) concentrated on the left wing. Because Lüders was still waiting for a surprise attack from the direction of Marosvásárhely, he gave the command of the troops facing Bem to Lieutenant General Ivin.

Opposing forces :

Unit Infantry company Cavalry company Horse Cannon Number80. Honvéd battalion 2 - - -1,10082. Honvéd battalion 4 - - -88. Honvéd battalion 3 - - - 630Reserve of the 27. Honvéd battalion 4 - - - 730Bodyguard company 1 - - - 1178. Hussar Regiment - 1 120 - 12011. Hussar Regiment - 1 1/2 180 - 18015. Hussar Regiment - - 180 - 180Six-pounder Nagyvárad-Debrecen Infantry Battery - - ? 8250Six-pounder Székely Infantry Battery - - ? 41. Six-pounder Székely Infantry Battery - - ? 4 Army total 13 2 1/2 480 + ? 16 3,307

Historian Zoltán Babucs says that Bem's troops were even smaller than that shown above. According to him, the Hungarian soldiers were 2,400 soldiers and 16 cannons.Babucs Zoltán: A segesvári ütközet (1849 július 31) Magyarságkutató Intézet, 31 July 2023

- Troops expected by General Bem to arrive in the battle, which did not show up:

Detachment of Colonel Farkas Kemény: 31. Honvéd Battalion: 6 infantry companies = 861 soldiers; 123. Honvéd Battalion: 6 infantry companies = 1,734 soldiers; A squadron of the 2. Jäger Regiment: 2 infantry companies = 300 soldiers; Artillery = 12 horses, 2 cannons = 23 soldiers;

Total: 14 infantry companies, 12 horses, 2 cannons = 2,918 soldiers.

Detachment of Lieutenant Colonel Károly Dobay: 32. Honvéd Battalion: 6 infantry companies = 800 soldiers; 10. Hussar Regiment: 1 cavalry company, 70 horses = 70 soldiers; 15. Hussar Regiment: 1 1/2 cavalry company, 30 horses = 30 soldiers; Artillery = ? horses, 6 cannons = 100 soldiers;

Total: 6 infantry companies, 1 1/2 cavalry company, 100 + ? horses, 6 cannons = ≈1,000 soldiers

: Unit Infantry company Cavalry company Horse Cannon NumberLublin Jäger Regiment 16 - - - 3,137Zamoście Jäger Regiment 16 - - - 3,1415. Rifleman Battalion 4 - - - 5685 Sapper Battalion 4 - 45 - 823Nassau Uhlan Regiment - 8 1,040 - 1,0951. Cossack Regiment - 6 796 - 7963. Middle Battery - - 120 8 1714. Middle Battery - - 120 8 175A squadron of the 6. Light Infantry Battery - - 40 4 667. Light Infantry Battery - - 80 8 131A squadron of the 9. Light Cavalry Battery - - 104 4 80 Army total 40 14 2345 32 10,183

Battle Bem's artillery started to shoot at the Russian troops at 10 a.m., one of the first cannon balls mortally wounding the Chief of Staff of Lüders's army, Major General Grigory Skariatin,. who some months earlier, on 11 March 1849, was beaten by Bem in the Battle of Nagyszeben.Bánlaky József: Nagy-Szeben bevétele. 1849. március 11-én. A magyar nemzet hadtörténete XXI Arcanum Adatbázis Kft. 2001 The legend says that the shot which killed Skariatin was guided personally by Bem from his horse. This is refuted by the Hungarian historian Róbert Hermann who pointed out the fact that in that period the cannons were not that precise, and aiming on horseback was impossible; it was only possible on foot. The Hungarian artillerists probably observed the mounted Russian officers on the hilltop and shot at them, causing Skariatin's death. Because Lieutenant General Ivin's task was only to hold his position, he did not try to prevent the deployment of the Hungarian troops while the Hungarian artillery unleashed a devastating cannonade against the Russian light artillery which faced them, and the Russian battalions from the Segesvár forest, which he tried to encircle. On the enemy's right flank, the Forest of Segesvár, from where, if Bem could take it, it was easy to overrun the Russian positions, was of strategic importance. Recognizing this, Bem sent the bulk of his left flank (5 infantry companies) forward. The Hungarian soldiers entered the Segesvár forest, climbed to a height under the control of a Russian Jäger battalion, shaking their position, but with the arriving reinforcements the Russians managed to push them back in the Ördög (meaning 'Devil') creek valley between the Segesvár forest and the Ördög forest. This fight with varying fortune lasted several hours.