In the spring of 1768, Dukla was the center of Bar Confederation. Here all Lesser Poland's leaders of the rebellion gathered, and headed towards Rymanów, where on July 6–7, 1768, a general meeting of local aristocracy took place. Among visitors at Dukla Castle was Casimir Pulaski, the father of American cavalry. In May 1772, after a number of skirmishes, Dukla was captured by Austrian soldiers, which marked First Partition of Poland. The palace complex was used as military barracks, and Mniszech's private army was forced into the Austrian Army. Dukla lost its significance, and was replaced by nearby Jasło as the biggest town of the area. In 1849, Dukla was visited by Tsar Nicholas I of Russia, who intervened on behalf of the Habsburgs to suppress the uprising in Hungary. The town declined even further after the epidemics of cholera (1865–1867, 1873–1876, 1884–1885). Furthermore, the construction of railroads missed Dukla, and the town still does not have a rail station.