As early as 6 November 1939, 184 professors, mainly from the Jagiellonian University but also from the Mining Academy, were arrested within the framework of the so-called Sonderaktion Krakau and imprisoned in the Sachsenhausen concentration camp. Thanks to international protests, some of the prisoners were released in February 1940. However, at least twenty of the arrested professors died or were shot.
On 30 June 1941, after Lviv had been occupied by the German army, the arrests of Lviv professors began. On 2 and 3 July, 52 people were arrested, including 21 professors of the Lviv University and Polytechnic, their families and several random people. Most of those who were arrested were shot in the morning of 4 July on the Wulecki Hills. The last one, Kazimierz Bartel, professor of the Lviv Polytechnic, prime minister of five Polish governments in 1926, was shot on 26 July.