JERUSALEM—Israeli Prime Minister Benjamin Netanyahu was recovering in a hospital on Sunday after an emergency heart procedure, as tens of thousands of supporters and opponents of his government’s judicial overhaul plan held rival rallies ahead of a key vote.
Mr. Netanyahu’s sudden hospitalization for the implant of a pacemaker added another dizzying twist to an already dramatic series of events that have divided his country and are certain to shape Israel’s future. Monday’s vote in parliament is expected to approve the first major piece of legislation in the contentious plan.
Mr. Netanyahu’s doctors said Sunday the procedure had gone smoothly. But by Sunday evening, Mr. Netanyahu remained in Sheba Hospital near Tel Aviv.
In a short video statement from the hospital, Mr. Netanyahu, 73, said he felt fine and thanked his doctors for his treatment and the public for wishing him well.
Wearing a white dress shirt and dark blazer, Mr. Netanyahu said he was pursuing a compromise with his opponents while also preparing for a vote on Monday that would enshrine a key piece of the legislation into law.
“I want you to know that tomorrow morning I’m joining my colleagues at the Knesset,” he said.
The overhaul calls for sweeping changes aimed at curbing the powers of the judiciary, from limiting the Supreme Court’s ability to challenge parliamentary decisions to changing the way judges are selected.
Mr. Netanyahu and his right-wing allies, a collection of nationalist and Orthodox parties, say the changes are needed to curb the powers of unelected judges. Their opponents, coming largely from Israel’s middle class, say the plan will destroy the country’s fragile system of checks and balances and push Israel toward authoritarian rule.
The plan has triggered seven months of mass protests, drawn criticism from business and medical leaders, and a number of military reservists in key units have said they will stop reporting for duty if the plan passes.
President Joe Biden has called on Mr. Netanyahu to freeze the plan, and Israel’s ceremonial president, Isaac Herzog, has attempted to broker a compromise between the prime minister and his opponents. Herzog, who returned Sunday from a trip to the White House, immediately rushed to Mr. Netanyahu’s hospital room.
“This is a time of emergency,” Mr. Herzog said. “We have to reach an agreement.”
Mr. Herzog planned meetings later Sunday with Israel’s opposition leader, Yair Lapid, and Benny Gantz, head of National Unity, another opposition party.
As they spoke, tens of thousands of people were gathering for mass rallies for and against the plan. Netanyahu’s supporters thronged central Tel Aviv—normally the setting for anti-government protests—while his opponents marched on Israel’s Knesset, or parliament.
Many of the protesters in Jerusalem had camped out in a nearby park, after completing a four-day march into the city from Tel Aviv on Saturday.
After seven months of mass protests against the plan, tensions were surging as lawmakers began a marathon debate over the first major piece of the overhaul ahead of Monday’s vote
In a fiery speech launching the session, Simcha Rothman, a main driver of the overhaul, denounced the courts, saying they damaged Israel’s democratic ideals by arbitrarily striking down government decisions.
“This small clause is meant to restore democracy to the state of Israel,” Rothman said. “I call on Knesset members to approve the bill.”
Despite the attempts to project business as usual, Netanyahu’s schedule was disrupted. His weekly Cabinet meeting scheduled for Sunday morning was postponed. Two upcoming overseas trips, to Cyprus and Turkey, were being rescheduled, his office said.
Israeli media said last-ditch efforts were underway to find a solution out of the impasse. But it wasn’t clear whether those would bear fruit.
In Monday’s vote, legislators are to vote on an overhaul measure that would prevent judges from striking down government decisions on the basis that they are “unreasonable.”
Proponents say the current “reasonability” standard gives judges excessive powers over decision-making by elected officials. Critics say removing it would allow the government to pass arbitrary decisions, make improper appointments or firings and open the door to corruption.
Speaking in parliament, opposition leader Yair Lapid called for Mr. Netanyahu to resume compromise talks and lauded the protesters for standing up to the government.
“The government of Israel launched a war of attrition against the citizens of Israel and discovered the people can’t be broken. We won’t give up on our children’s future,” he said.
Orit Farkash HaCohen, of the opposition National Unity party, broke down into tears as she criticized the government. “Our country is on fire. You’ve destroyed the country,” she said. “I can’t believe what I’m seeing.”
Mr. Netanyahu was rushed to the hospital in the middle of the night a week after being hospitalized for what doctors said was dehydration.
In a video statement, his doctors said they had implanted a device to monitor his heart after last week’s health scare. When the device showed anomolies, they said he needed a pacemaker.
Professor Roy Beinart, senior physician and director at the Davidai Arrhythmia Center at Sheba Medical Center’s Heart Institute, said Mr. Netanyahu has suffered from a “conduction disorder,” or irregular heart beat, for years.
“The implantation went smoothly, without any complications. He is not in a life-threatening condition,” Beinart said. “He feels great and is returning to his daily routine.”
Mr. Netanyahu keeps a busy schedule and his office says he is in good health.
Further ratcheting up the pressure on the Israeli leader, thousands of military reservists have been declaring their refusal to serve under a government taking steps that they see as setting the country on a path to dictatorship.
Over 100 retired security chiefs publicly supported the growing ranks of military reservists who plan to stop reporting for duty if the overhaul is advanced.
Mr. Netanyahu and his allies announced the overhaul plan in January, days after taking office.
Netanyahu paused the overhaul in March after intense pressure by protesters and labor strikes that halted outgoing flights and shut down parts of the economy. After talks to find a compromise failed last month, he said his government was pressing on with the overhaul.