At the same time, the Jasna Góra Monastery prospered. On February 27, 1670, the wedding of the king Michał Korybut Wiśniowiecki to princess Eleonore of Austria took place here. In 1682 the celebration of the 300th anniversary of the Black Madonna of Częstochowa brought thousands of pilgrims from both Polish–Lithuanian Commonwealth and Silesia. The Jewish community in Częstochowa developed by about 1700. During the Great Northern War, Częstochowa was captured by the Swedish army on August 11, 1702. In February 1703 Swedes besieged the monastery, but failed to seize it. In April 1705 the Swedes returned, and appeared at the monastery again in September 1709. Unable to capture the fortified stronghold, they looted villages in the area, set Częstochowa on fire, and left towards Wieluń. At that time, a village of Częstochówka also existed next to Częstochowa. The village belonged to the monastery and quickly developed. In 1717 it was granted town charter, and its name was changed into Nowa Częstochowa (New Częstochowa). The town was completely destroyed during the Bar Confederation. On February 8, 1769, the monastery was seized by rebels of the Bar Confederation, commanded by Kazimierz Pułaski. Soon the stronghold was besieged by Russians under German-born General Johann von Drewitz. The Russians gave up on January 15, 1771. In 1789, the population of Częstochowa (also called Stara Częstochowa, Old Częstochowa) was app. 1,600, which was less than in the 15th century. After the Great Sejm passed the Constitution of May 3, 1791, local Sejmiks were obliged to legitimize it. On February 14–15, 1792, a sejmik of the szlachta of northern part of Kraków Voivodeship (counties of Lelów and Książ Wielki) took place in Częstochowa. Traditionally, local sejmiks were organized in Żarnowiec; the fact that it was moved to Częstochowa confirms the growing importance of the town. In 1760, Jacob Frank, the leader of a Jewish sect mixing Kabbalah, Catholicism and Islam, was imprisoned for heresy in the monastery by the church. His followers settled near him, later establishing a cult of his daughter Eve Frank. In August 1772, Frank was released by the Russian general Aleksandr Bibikov, who had occupied the city. Frank had promised the Russians that he would convince Jews to convert to Orthodox Christianity. Partitions of Poland During the Second Partition of Poland, Częstochowa was seized by the Kingdom of Prussia in 1793, and incorporated into the newly formed province of South Prussia, Department