They were killed by the soviet NKVD because they were anti-nazi???
Of course yes.
en.wikipedia.org/wiki/Home_Army
The Armia Krajowa (the Home Army, literally translated as the Country's Army), abbreviated "AK", was the dominant Polish resistance movement in World War II German-occupied Poland. It was formed in February 1942 from the Związek Walki Zbrojnej (Union for Armed Struggle) and over the next two years absorbed most other Polish underground forces. It was loyal to the Polish government in exile and constituted the armed wing of what became known as the "Polish Underground State". Estimates of its membership in 1944 range from 200,000 to 600,000, with the most common number being 400,000; that figure would make it not only the largest Polish underground resistance movement but among the two largest in Europe during World War II. It was disbanded on January 20, 1945, when Polish territory had largely been cleared of German forces by the advancing Soviet Red Army.
the Soviet Union agencies like the NKVD that took responsibility for disarming the AK.[19] By the end of the war approximately 60,000 soldiers of AK were arrested, 50,000 of them were deported to the Soviet Union's Gulags and prisons; most of those soldiers were captured by Soviets during or in the aftermath of Operation Tempest, when many AK units tried to cooperate with the Soviets in a nationwide uprising against the Germans. Other veterans were arrested when they decided to approach the government officials after being promised amnesty. After several such broken promises during the first few years of communist control, AK soldiers stopped trusting the government
The persecution of AK was only part of the repressions under Stalinism in Poland. In the period of 1944-1956, approximately 2 million people were arrested, over 20,000, including the hero of Auschwitz, Witold Pilecki, were executed or murdered in communist prisons, and 6 million Polish citizens (i.e. every third adult Pole) were classified as a reactionary or criminal element and subject to invigilation by state agencies. In 1956 an amnesty released 35,000 former AK soldiers from prisons: for the crime of fighting for their homeland they had spent sometimes over 10 years in prisons. Even at this time however, some partisans remained in the countryside, unwilling or simply unable to rejoin the community