Hunedoara (; ; ) is a city in Hunedoara County, Transylvania, Romania. It is located in southwestern Transylvania near the Poiana Ruscă Mountains, and administers five villages: Boș (Bós), Groș (Grós), Hășdat (Hosdát; Hochstätten), Peștișu Mare (Alpestes), and Răcăștia (Rákosd).

The city includes the most important Gothic-style secular building in Transylvania: the Hunyad Castle, which is closely connected with the Hunyadi family. The castle was destroyed by fire five times, but underwent many reconstructions from Austro-Hungarian and later Romanian authorities. Besides the castle, the town developed as a production center for iron and a market for the mountain regions nearby. During the 20th century, Hunedoara's population increased to 86,000 inhabitants. The city contained the largest steel works in Romania (until Galați took the lead), but activity gradually diminished after the Romanian revolution of 1989 due to the loss of the market. This was a blow to the overall prosperity of the town, which is now recovering through new investments.

The population consists of a Romanian majority, with Hungarians and Roma as the most important minorities. The city contains numerous parks, with poplars and chestnut trees flanking the streets. There are many tourist attractions, including a large dam with tourist facilities, located in the mountains a few kilometers from the city.

Etymology The name of the town seems inexorably linked to the name of the Hunyadi family (also known as Corvinus). The most probable explanation for the Romanian name "Hunedoara" is the transliteration of the Hungarian name "Hunyadvár" meaning "Castle of Hunyad", as many Hungarian towns have this suffix. Historically, the following names were recorded: Hungnod (1265), Huniad (1278), Hwnyadwar (1409), Vayda Hunyadi (1575). The latter Hungarian name Vajdahunyad (voivode Hunyad) is a direct referral to John Hunyadi.

The German name "Eisenmarkt" means "Iron Market", doubtless a reference by German merchants to the city's thriving iron trade from Carpathian mines.

History Stone Age tools were discovered in the Sânpetru (Saint Peter) hill near the castle and in the surrounding villages. The region was very rich in iron, which had been extracted in the area since the Iron Age by Thracian tribes. The Dacian fortresses of Orăștie mountains, most notably Sarmiszegetusa, which became the most important religious and political center of Dacia, was located close to Hunedoara and was supplied by the iron produced here. The remains of eight Dacian iron furnaces have been found at the Sânpetru Hill near the castle. The discovery of important monetary treasures of Dacian coins and Roman imperial coins testifies to the importance of the site.

After Dacia was conquered around AD 106 and turned into a Roman province, the iron-rich region attracted the attention of the Romans, who began to exploit it by building furnaces. A "Villa Rustica" emerged in Teliuc, a Roman fortification on Sanpetru hill, outpost of the famous legio XIII Gemina whose main castrum was at Apullum in Dacia. Other Roman artifacts were discovered in the city area, and also in Pestis, where the remains of a Roman village were discovered. The new capital city of the Roman province of Dacia, Ulpia Traiana Sarmizegetusa, was also situated in the proximity. Whether a Romanized population remained in this region after the retreat of the Roman legions, which took place around 271-274 AD, is debated in the theories on the origin of the Romanians.

After the Roman military and administrative retreat during the Migration Period, the region had no significant historic sites, although it may be possible that the iron activity continued. The ethnic structure of the region changed significantly, most notably with Goths, Huns, Slavs, Pechenegs, Magyars (Hungarians), and Cumans.

Starting from the year 1003 Transylvania became part of the Hungarian Kingdom. The Gesta Hungarorum, the first historical Hungarian chronicle, written around the year 1200, claims that Transylvania was inhabited by Vlachs (Romanians) and Slavs upon Hungarians' arrival. However, the reliability of this work is contested by some scholars. In this area small political feuds grew ruled by the so called Knezes. South of the Carpathians the Pechenegs and Cumans held political power, and Hunedoara acted as a buffer zone for the Hungarian Crown. In time, the Vlach (Romanian) populations in the mountains nearby developed an original highlander culture. Their land is called "Țara Pădurenilor" (Woodlanders Country) and they began to dominate the area demographically. The region also had a sizable population of German Saxons, colonizers brought by the Hungarian Crown after the Mongol Invasion.

The first recorded evidence of the city was made in 1265 under the name Hungnod as a hub for leather tanning and wool processing. The city of Hunedoara became an important iron extracting and processing center in Transylvania. "Corpus Inscriptiorum Latinorum" refers to a local inhabitant as "natas ibi, ubi ferum nascitur", that is, "born where the iron was born". As the backbone for the manufacture of weapons and tools, the town industry was vital for the region.

The city has been known since the 14th century mainly as the residence of the Hungarian noble Hunyadi family, the origins of the Hunyadi family are a topic of debate among historians. On 18 October 1409, Voyk (Vajk in Hungarian, Voicu in Romanian), was rewarded for military bravery by Sigismund of Luxembourg, and received the domain of Hunedoara. The same document that recorded Voyk's reward for military bravery by Sigismund of Luxembourg also mentions his three sons: Mogoș, Radol, and John Hunyadi (Hungarian: János Hunyadi; Romanian: Ioan de Hunedoara). Hunedoara received town privileges in 1448 from the King of Hungary. John Hunyadi consolidated the citadel on top of an ancient fortress, creating the two main halls, for Diet and Knights. A Franciscan abbey was built nearby the castle in 1448 and John of Capistrano, a famous Italian monk, was sent by the Pope to organize a crusade against the Turks, and lived in the castle. John of Capistrano became instrumental later in inciting the peasantry to crusade, starting from Frankfurt and marching towards Belgrade.

John Hunyadi was a leading military leader in the growing confrontation with the Ottoman Empire. He fought in the service of Sigismund, mastering military tactics in the Hussite Wars, and became the most skillful warrior of Hungary. He was elevated and named Voivode (Prince) of Transylvania, which was at the time an autonomous part of the Kingdom of Hungary. Elected regent of Hungary, he formed a coalition with the principalities of Moldavia and Wallachia and engaged in crusades against the Turks to free Serbia and Bulgaria. The crusade, for a brief period, united the diverging forces of the Balkans, and the victories gained in battles managed to secure the Kingdom of Hungary from Ottoman occupation for over a century. Although he died in a military camp, his son Mátyás (Matthias Corvinus) later became the most famous of Hungarian kings. Pope Pius II called him Athleta Christi ("Christ's Champion") and The White Knight of Wallachia.The White Knight of Wallachia

In 1457, Matthias gave permission to the Wallachian serfs to build an Orthodox church, beautifully decorated with paintings and preserved until today. He continued to consolidate the castle and the feudal domain of Hunedoara. The castle of Hunedoara became one of the biggest in the medieval world, standing as a witness to the greatness of his family of noble warriors and statesmen, in an era of war and despair for the region, as the Ottoman Empire approached Central Europe. In the times of Hunyadi rule, Hunedoara became a market (opiddum) for iron. Matthias Corvinus named the city a tax-free area, and this privilege lasted until the 17th century. The population varied between 784 people in 1512 and 896 people in the 17th century. After Matthias died, Hunedoara passed to his son, John (Hungarian: János; Romanian: Ioan), but he too died young. His wife, Beatrice de Frangepan, married Georg of Hohenzollern, Marquis of Brandenburg in 1509. But Georg de Brandenburg would not reside in Hunedoara, instead appointed a representative, György Stolcz.

In 1514, during the peasant revolt of György Dózsa, some were imprisoned in the castle and probably tortured. The town numbered 184 houses, a considerable size for the time, and was ruled by an appointed Orthodox priest. In 1528 a fire destroyed 124 houses. In 1534 as the Kingdom of Hungary was conquered by the Ottoman Turks, the castle was besieged during the rebellion of Czibak Imre, the bishop of Oradea and two years later John Zápolya donated the castle along with other possessions to Török Bálint making him the richest nobleman of Hungary. In 1557 Török János, a proselytizer of Reformation is mentioned to have killed his unfaithful wife Kendi Anna in the castle. In 1601 the castle was besieged by the Wallachian army of Michael the Brave in his campaign – while ruling Wallachia, Moldavia and Transylvania – against the Ottoman Empire, and to switch the Ottoman vassalage to the Habsburgs.

The town and the castle survived relatively unharmed by the Counter-Reformation of Giorgio Basta, general of the Habsburg Empire. By 1618, ownership of the castle passed to the Bethlen family. Gabriel Bethlen Voivode of Transylvania consolidated and enlarged the castle, and gave it to his nephew Stephen Bethlen who lived here with his wife Mary Széchy, famed for her beauty.

The Reformed Church of Hungary was established in Hunedoara in 1634 and Imre Thököly, one of the leaders of the Protestant anti-Habsburg uprising and later Prince of Transylvania owned the castle and spent much time living in it. By 1685, the castle passed into the possession of Michael Apafi, the pro-Habsburg Prince of Transylvania. In 1710, the old church was returned to the Franciscans, and in 1725 it reacquired its monastic rank. By this time, the majority of population was Romanian.

Most of current Hunedoara was at that time a lush plain through which the Cerna river was meandering. The first blast furnace was built by 1603, followed by another four. The modern iron operations began at the foot of Saint Peter hill (Sanpetru), close to the most distant tower of the castle called Nebojša, (Serbian for "have no fear", a tower that was the furthest away from the castle in medieval times, to provide last refuge in the case of a siege; cf. Nebojša Tower). The mine shaft can still be viewed. Iron manufactures were also situated nearby.

In 1667, there was already a steel mill on the Cerna river producing 490 tons of pig iron and 66 tons of iron by 1699. In 1714 Georg Steinhilbert made a second one and a third was made in 1727. In 1743, the operations were handled directly by the Treasury. Of the mills mentioned, one was located under the main bridge and its walls are now in ruins.