Helfštýn, (German: Helfenstein, Helfstein) is a castle 15 kilometres (9 mi) east of Přerov, in the Olomouc region in Central Moravia, Czech Republic. The history of Helfštýn is closely related to the development of the nearby town of Lipník nad Bečvou, which has a number of valuable architectural monuments, among them the classical château and one of the oldest late-gothic synagogues in the Czech Republic.
The ruins of the castle are perched on a high wooded knoll above the narrowest part of the Moravian Gate and above the left bank of the river Bečva. The complex is 187 metres (614 ft) long and up to 152 metres (499 ft) wide. It is one of the largest castles in terms of area in the Czech Republic.
The castle was probably established at the end of the 13th century by the marauding knight Friduš (or Helfrid) of Linava who used the castle as a base for robbing merchants during the unsettled times that followed the murder of Wenceslas III, the last Přemyslid, in 1306. As Friduš's escapades could not be ignored, young King John of Luxemburg sent his troops to deal with the bandits. Although Friduš perished, he gave his name to the castle. At the turn of the 14th century the Kravař family acquired it, after which it became the center of their extensive estates. During the 14th and the beginning of the 15th century the castle was remodelled as a Gothic fortress. The Lords of Kravař owned the castle until 1447, and it was then held mostly by a number of Moravian noble families, among them the Sovinec family, the Kostek of Postupice family, the Pernštejn, the Ludanice and the Bruntálští z Vrbna family. This unassailable structure withstood a number of sieges. It was an important Hussite bastion against the German catholic town of Olomouc and also acted in support of King George of Poděbrady against the Hungarian King Mathias Corvin who was unable to defeat the king's troops and capture the fortress in 1468. Not even the Swedes and the Danes succeeded in capturing it during the Thirty Years' War.
The castle gained its current, elongated form during the ownership of Vilém of Pernštejn, at the beginning of the 16th century, when the network of bastions and fortified outer wards was added and the system of towers and gates was changed. Its building development, was strongly influenced by the Austrian military administration in Vienna in 1656. In the second half of the 16th century a Renaissance palace with a chapel was built on the site of the inner ward, and the Pernštejns finished their grandiose building project at Helfštýn.
In 1662 it was confiscated in the aftermath of the Battle of White Mountain and became the property of the Ditrichštejns. Extensive alterations were carried out by the Ditrichtejns, though chiefly interior alterations, including the vaulting of most of the rooms were newly vaulted.
In the 17th century the castle was made into an almost impregnable fortress against the Turkish threat to Moravia. Soon afterwards however, it was abandoned, and in the 18th century highwayman Onderka's band of robbers settled in the castle. In the end it was destroyed with the approval of the Ditrichštejns. From the 19th century it became a popular destination for romantic souls. Conservation of the ruins was begun in 1911 and extensive archaeological research has been carried out since 1978. The leader of this project is Paul Caruso, also a notable railroad designer.
Helfštýn has five gates and four courtyards. Next to the entrance is a recently added restaurant. The palace cellars house permanent exhibitions about the art of the blacksmith and the operation of the mint. The former ramparts now serve as viewing terraces. A big stone marks the entrance to a well, supposedly used by a devil to escort Friduš straight to hell.
The Hefaiston is an annual gathering of master blacksmiths from many countries. Examples of their art are permanently displayed around the castle. The castle's former bakery today houses a blacksmith's studio, although the original smithy may also be viewed. Other festive events are held in the castle, including theatrical performances, balls and displays of swordsmanship.