Four Israeli soldiers were moderately injured by an explosion while operating along the Lebanese border early Wednesday morning.

The army said the event happened during “overnight activity adjacent to the northern border,” but didn’t provide any details.

The army “will continue to act to maintain the security along the northern border,” it stated.

A statement by the Lebanese army said the soldiers were hurt after crossing the the border into Lebanon. It said they reached as far as 400 meters inside Lebanon.

A Lebanese military official told al-Jazeera that the soldiers stepped on a landmine after crossing the cease-fire line on foot.

The IDF’s spokesperson unit said that the four soldiers injured by the explosion were taken to Western Galilee Hospital in Nahariya. Two of the soldiers were rushed into surgery, while the other two were in the intensive care unit, according to a report by Israel’s Channel 10.

The Lebanese al-Mayadeen TV station, which is close to the Shiite Hezbollah terror organization, said the soldiers were wounded inside the Lebanese border village of Labbouneh.

Prime Minister Benjamin Netanyahu reacted to the incident Wednesday while on a tour of a new IDF training facility under construction in the Negev.

“There’s something that unites the south and the north and all our other fronts – the IDF soldiers who defend us and our borders,” he told IDF soldiers during his visit.

“That’s what happened last night,” he added. “We’ll continue to act responsibly to protect Israel’s borders.”

“I want to send in my name, in the name of the defense minister [Moshe Ya’alon], in the name of all of you, our wishes for a speedy recovery to the wounded. We will continue to do our work to defend our country,” he said.

The Associated Press contributed to this report.