BRATISLAVA, Slovakia — The prime minister of Slovakia resigned on Thursday following mass demonstrations over the murder of a journalist who was uncovering government corruption. But officials said there would not be new elections and the ruling party would remain in power.

With anger still intense over the murders of the journalist, Jan Kuciak, and his fiancée, Martina Kusnirova, and the way the government has responded, it is not clear that the prime minister’s resignation will end the crisis. Many of the demonstrators who have taken to the streets in the largest numbers since the Velvet Revolution of 1989 have demanded the fall of the government and a new round of elections.

Leaders of the protests released a statement saying that leaders of the parties in the governing coalition had “humiliated and misled the whole public with their decision.” They plan to hold protests in more than 30 cities on Friday.