The UOP replaced the communist-era Służba Bezpieczeństwa (SB), I Departament People's Republic of Poland Ministry of Internal Affairs - intelligence, II Departament People's Republic of Poland Ministry of Internal Affairs - counter-intelligence, whose responsibilities had additionally included the suppression of opposition to the government prior to 1989.