relations with the king resulted in rebellion. The prince withdrew to Silesia; and, degraded by the Sejm court, fought for his political rehabilitation. His sons succeeded in this matter. Prince Hieronim Augustyn, a member of the Order of Hospitallers, devoted his life to fighting the Turks, who were considered a cultural threat to European civilization. He defeated Piotr Doroszenko in the Cossack uprising. In 1670, he fought against the Crimean Horde at Bracław and . In 1683, during the Battle of Vienna, his troops were the first to reach the city gates. During the period of the first Republic of Poland, eight members of the family served as generals. Two of them took part in the war with Czarist Russia, which gave rise to the Kościuszko Insurrection. Lubomirski family in the history of Warsaw To build his numerous residences, Prince Stanisław Herakliusz Lubomirski (1642 – 1702) hired Tylman of Gameren, later court architect to King Michał Korybut Wiśniowiecki. Stanisław Lubomirski owned residences in Puławy, Czerniaków, (where he founded a monastery and church of the Bernardines), and in Ujazdów (now part of Warsaw), where, at the end of the 17th century, he built a bathhouse that became the Palace on the Water of Stanisław August Poniatowski, and the Ermitage, which was planned as a place of meditation and relaxation. Stanisław Herakliusz was a friend of many European artists and patrons of the arts, as evidenced by correspondence. He had relations with the French and Spanish courts, as well as members of the Medici family. These facilitated his carrying out a number of missions and negotiations on behalf of the Polish king. Stanisław Herakliusz was a talented author, a precursor of the Polish Baroque in literature. He spoke several languages and made use almost all known literary forms in his works. However, he was interested mostly in the new trends coming from Italy. His philosophical work "Dialogues of Artakses and Ewander" entered the canon of the Old Polish Literature and became required reading. An example of building in the very centre of Warsaw is a reconstruction of the Copper-Roof Palace (Pałac Pod Blachą), commissioned in the early 18th century by Jerzy Dominik Lubomirski. The palace, classical in form and situated on the south side of the Royal Castle, was bought by the king himself, in 1777, who later added the library. The previous owner of this building was Prince Jerzy Marcin Lubomirski