The town of Leopoldov was founded in 1664-1669 as a fortress against the Ottoman Turks on the initiative of Emperor Leopold I (hence the name). It was granted town status in 1669. The fortress has served as a state prison since 1855. During the Communist Czechoslovakia, the Communist government used the prison for holding and liquidating political prisoners, particularly in the 1950s. The conditions were harsh for prisoners, and the prison was one of the most notorious in the former Czechoslovakia. Among the inmates was Gustáv Husák (from 1954 to 1960), who would be later communist president of Czechoslovakia. The prison was modernized and reconstructed in the second half of the 20th century. Before 1989 there were approximately 2,600 inmates in the prison. As of 1990, it was the biggest prison in the present-day Slovakia.
References:Střekov Castle (Schreckenstein) is perched atop a cliff above the River Elbe, near the city of Ústí nad Labem. It was built in 1316 for John of Luxembourg, the father of the Holy Roman Emperor Charles IV, to guard an important trade route to Germany. After changing hands several times, the castle was acquired by the Lobkowicz family in 1563. Its strategic importance led to occupations by Imperial Habsburg, Saxon, and Swedish forces during the Thirty Years' War, as well as successive sieges by Austrian and Prussian armies during the Seven Years' War.
Although Střekov Castle was heavily damaged during those conflicts and abandoned as a military installation by the end of the 18th century, the 1800s saw many poets and artists visiting the castle, drawn by a new trend of interest in romantic ruins.