Question: The Battle of Segesvár, was a battle in the Hungarian Revolution of 1848, fought on 31 July 1849 between the Hungarian revolutionary army supplemented by Polish volunteers under the command of General Józef Bem, was a Polish engineer and general, an Ottoman pasha and a national hero of Poland and Hungary, and a figure intertwined with other European nationalisms, Bem fought outside which location's borders?

Context paragraphs:
Battle of Segesvár: The Battle of Segesvár (Transylvania, now Sighişoara, Romania) was a battle in the Hungarian Revolution of 1848, fought on 31 July 1849 between the Hungarian revolutionary army supplemented by Polish volunteers under the command of General Józef Bem and the Russian V Corps under General Alexander von Lüders in ally with the Austrian army led by General Eduard Clam-Gallas.  The battle was won by the Russian-Austrian army and it is presumed that the Hungarian poet and national hero Sándor Petőfi died in the battlefield, though his body was never found.

Battle of Temesvár: The Battle of Temesvár (now Timişoara, in Romania) was a battle in the Hungarian Revolution of 1848, fought on 9 August 1849 between the Austrian Empire and Hungarian Revolutionary Army supplemented by Polish volunteers.  The Austrians were led by Julius Jacob von Haynau, while the Hungarians were led by Józef Bem who arrived at the eleventh hour from Transylvania.  The Austrians were victorious.

Battle of Nagysalló: The Battle of Nagysalló was fought on 19 April 1849, was one of the battles of the Spring Campaign in the Hungarian War of Independence from 1848–1849, fought between the Habsburg Empire and the Hungarian Revolutionary Army.  Until 1918 Nagysalló was a part of the Hungarian Kingdom, today being a village in Slovakia, its Slovakian name being Tekovské Lužany.  This was the 2.  battle in the second phase of the Spring Campaign, which had the purpose to relieve the fortress of Komárom from the imperial siege, and with this to encircle the Habsburg imperial forces headquartered in the Hungarian capitals of Buda and Pest.  The Hungarians won the battle in a categorical way against the imperial troops led by Lieutenant General Ludwig von Wohlgemuth, which came from the Habsburg Hereditary Lands (Vienna, Styria, Bohemia, Moravia), to help the imperial army sent to suppress the Hungarian Revolution of 1848 and independence.

Józef Bem: Józef Zachariasz Bem (Hungarian: "Bem József" , Turkish: "Murat Pasha" ; March 14, 1794, Tarnów – December 10, 1850, Aleppo) was a Polish engineer and general, an Ottoman pasha and a national hero of Poland and Hungary, and a figure intertwined with other European nationalisms. Like Tadeusz Kościuszko (who fought in the American War of Independence) and Jan Henryk Dąbrowski (who fought alongside Napoleon Bonaparte in Italy and in the French Invasion of Russia), Bem fought outside Poland's borders for the future of Poland anywhere his leadership and military skills were needed.

Battle of Csorna: The Battle of Csorna, fought on 13 June 1849, was one of the battles which took place in the Summer Campaign of the Hungarian War of Independence from 1848 to 1849, fought between the Habsburg Empire and the Hungarian Revolutionary Army.  The Hungarian army was led by Colonel György Kmety, and the imperial army by Major General Franz Wyss.  After liberation of the Hungarian capitals from the siege of Buda, the Hungarian commanders elaborated a plan to continue the Hungarian advance towards the Habsburg capital Vienna, before the arrival of the 200,000-strong army, sent by the Russian Empire to help the 170,000-strong Habsburg troops to crush the Hungarian revolution and freedom.  But before the real fighting started between the two main armies, the commander of the 15th division of the VII Hungarian army corps, Colonel György Kmety, attacked the imperial half brigade led by Franz Wyss by surprise, and in heavy fighting forced them to flee.  During the retreat the imperial commander also received a fatal wound, dying on the battlefield.  At the same time two other Hungarian detachments from the VII corps also won victories against Austrian troops, chasing them away from Öttevény and Kóny.

Battle of Hegyes: The Battle of Hegyes (now Mali Iđoš, Vojvodina, Serbia) was a battle in the Hungarian Revolution of 1848, fought from 11 to 15 July 1849 between the Hungarian Revolutionary Army under the command of Richard Guyon and the Habsburg Corps under General Josip Jelačić in alliance with the Croatian and Serbian army.  The battle was won by the Hungarians; it was the last Hungarian victory of the Hungarian Revolution of 1848.

Bucharest student movement of 1956: The events in Poland which led to the elimination of that country's Stalinist leadership and the rise to power of Władysław Gomułka on 19 October 1956 provoked unrest among university students in Eastern bloc countries.  The state of unrest in Poland began to spread into Hungary.  As early as 16 October 1956, students from Szeged left the Communist-created students' union (DISZ), re-establishing the MEFESZ (Union of Hungarian University and Academy Students), a democratic organisation that the regime of Mátyás Rákosi had suppressed.  Within a few days, students from Pécs, Miskolc and Sopron had done likewise.  On 22 October 1956, students from the Budapest University of Technology and Economics compiled a list of sixteen points containing key national policy demands.  When they found out about the intention of the Hungarian Writers' Union to express its solidarity with Poland by placing a crown near the statue of Polish general Józef Bem, a hero of the Hungarian revolution of 1848-49, the students decided to organise a parallel demonstration in support of the Poles.  At the protest on the afternoon of 23 October 1956, the students read their proclamation, an act that marked the beginning of the Hungarian Revolution of 1956.

Battle of Hatvan: The Battle of Hatvan was the first battle in the Spring Campaign of the Hungarian War of Independence from 1848–1849, fought on 2 April 1849 between the Habsburg Empire and the Hungarian Revolutionary Army.  This battle was the start of the Hungarian offensive, which had the purpose to liberate the Central and Western parts, and the capital of Hungary, occupied by imperial forces.  The Austrian force were led by General Franz Schlik, while the Hungarians were led by Colonel András Gáspár, and lieutenant-colonel Ernő Poeltenberg.  In the Hungarian army fought also the Polish Legion under the lead of Colonel Józef Wysocki.  The Hungarians were victorious, and advanced towards the Hungarian capitals, Buda and Pest.

Siege of Buda (1849): The Siege of Buda (Hungarian: "Buda ostroma" ) was the siege of the Buda castle, part of the twin capital cities of the Kingdom of Hungary by the Hungarian revolutionary army led by General Artúr Görgei, during the Hungarian War of Independence.  It was part of the Spring Campaign, fought between 4 and 21 May 1849 and ended with the Hungarian capture of the castle by assault on 21 May.  Actually it was the only fortress in the 1848-1849 Hungarian Freedom War, which was taken by the assault of the besieging troops of any of the fighting parts, the others being taken only after agreements between the besiegers and the besieged, with the capitulation of the latters, the capture of Buda on 21 May 1849 by assault being the only exception from this.  The siege of Buda was also the shortest siege in the Hungarian Freedom War of 1848-1849 (18 days).  The senseless bombardment of Pest by Major General Heinrich Hentzi, the Austrian commander of the city of Pest destroyed the classicist buildings from the shores of the Danube, but the other parts of the capitals also suffered heavy damages because of the artillery duels of the two parts.  With the capture of the Buda Castle ended the complete liberation of the Hungarian capital cities (Buda and Pest), and thanks to this the second Hungarian revolutionary Government led by Bertalan Szemere together with Lajos Kossuth, the Governor-President of Hungary returned from Debrecen the interim capital of the Hungarian revolution, in the real capital of Hungary.  At 21 May 1849, the same day with the capture of Buda, the two emperors: Franz Joseph I of Austria and tsar Nicholas I of Russia signed the final treaty which decided the involvement of 200 000 Russian soldiers (and a 80 000 strong reserve force, in the case that they were needed) in Hungary, in order to help the Habsburg Empire to crush the Hungarian revolution.

Battle of Isaszeg (1849): The Battle of Isaszeg was a battle in the Spring Campaign of the Hungarian War of Independence from 1848 to 1849, fought on 6 April 1849 between the Austrian Empire and Hungarian Revolutionary Army supplemented by Polish volunteers.  The Hungarians were victorious.

Supporting paragraphs: Battle of Segesvár Józef Bem
Answer: Poland