The head of Bangladesh’s interim government, Nobel laureate Muhammad Yunus, says the high-profile resignations of authorities close to ousted Prime Minister Sheikh Hasina are legal after student leaders who organised protests against Hasina’s government issued ultimatums for them to quit.

“Legally … all the steps were taken,” Yunus, 83, told a group of journalists Sunday night. The country’s chief justice, five justices and central bank governor have all resigned in the past few days, part of a dramatic transformation after weeks of protests against a quota system for government jobs turned into a mass uprising. Hasina resigned and fled to India last week.