Prime Minister Boiko Borisov of Bulgaria submitted his government’s resignation on Wednesday after a tumultuous week of public anger over rising electricity prices, corruption and worsening living standards that ignited mass protests nationwide and led to bloody clashes with the police on Tuesday night.

“The people gave us power, and today we are returning it,” Mr. Borisov said on Wednesday morning in Parliament, according to local news reports.

The speaker of Parliament, Tsetska Tsacheva, said the resignation of the prime minister and his cabinet would not be effective until Parliament put it to a vote on Thursday. Since Mr. Borisov controls Parliament, acceptance would seem assured.

The protests — the biggest in at least 15 years — were set off by electricity price increases and corruption scandals, including one over the nominee to head the state electricity regulatory commission, which sets rates. She was accused of selling cigarettes illegally online and her nomination was later withdrawn.