(Bloomberg) -- Polish Prime Minister Mateusz Morawiecki’s chief aide resigned after becoming embroiled in an email-hacking scandal that has plagued the government for more than a year.

Leaks of emails allegedly stolen from aide Michal Dworczyk’s private inbox exposed sensitive correspondence with administration officials including Morawiecki and became frequent media fodder. Dworczyk, who stepped down Friday, said the account was hacked, but also that some emails published on the poufnarozmowa.com website were doctored.

The departure of one of Morawiecki’s most trusted lieutenants -- Dworczyk led the roll-out of Poland’s Covid-19 vaccination program and helped coordinate support for Ukrainian refugees --- comes as the prime minister is under growing pressure to prove he can deal with the consequences of the escalating cost-of-living crisis. 

Surging inflation has chipped away at the ruling party’s support before elections expected late next year.

Poland’s most powerful politician and the leader of the ruling Law & Justice party, Jaroslaw Kaczynski, recently sidestepped a question about whether Morawiecki will continue to lead the government amid worries over coal shortages before the northern winter heating season starts.

©2022 Bloomberg L.P.