sentences:  In 1567, the "rosh yeshiva" (headmaster) received the title of rector from the king along with rights and privileges equal to those of the heads of Polish universities.In the 17th century, the town declined due to a Russo-Ukrainian invasion in 1655 and a Swedish invasion during the Northern Wars.After the third of the Partitions of Poland in 1795, Lublin was located in the Austrian empire, then 1809 in the Duchy of Warsaw, and then 1815 in the Congress Poland under Russian rule.