Israeli Prime Minister Benjamin Netanyahu was conscious and conversing with family on Monday after undergoing a successful hernia operation, the hospital treating him said.
Hadassah Medical Center in Jerusalem said Netanyahu was recovering, but did not immediately specify how long that might take.
Netanyahu was fitted with a pacemaker last July, while Israel was ensnared in its worst domestic crisis in decades, with widespread protests against his hard-right government's judicial overhaul plan.
Tens of thousands of Israelis thronged central Jerusalem on Sunday in the largest anti-government protest since the country went to war in October.
Protesters urged the government to reach a ceasefire deal to free dozens of hostages held in Gaza by Hamas and to hold early elections.
Netanyahu has vowed to destroy Hamas and bring all the hostages home, yet those goals have been elusive. While Hamas has suffered heavy losses, it remains intact.