Israel and Lebanon have signed an historic agreement setting their borders in the Mediterranean Sea.
The neighbours, which have technically been in a state of war since Israel's founding in 1948, had been in a dispute over rights to a gas field there.
Hezbollah, the powerful militant and political group in Lebanon, had threatened to attack Israel if it extracted gas before a deal.
Both countries stand to benefit economically from the gas field.
The agreement covers 330 sq miles (860 sq km) of sea off their coasts. Until now, neither country has been able to exploit the area's natural resources because of a disagreement over where the boundary lay.
The disputed patch contains part of Karish, a confirmed gas field, and part of Qana, a prospective gas field.
Under the US-brokered deal, Israel secured full rights to Karish, while Lebanon's rights to Qana were also recognised. Lebanon agreed for some potential revenue from Qana, part of which lies within Israel's waters, to go to Israel.
Israeli Prime Minister Yair Lapid, who is fighting a general election next week, touted the agreement as a diplomatic achievement.
"It is not every day that an enemy state recognises the State of Israel, in a written agreement, in front of the entire international community," he said.
However, Lebanese President Michel Aoun played down the deal as "technical work that has no political implication".
Mr Lapid's political rival Benjamin Netanyahu, who is hoping to return to power, has called the agreement illegal and pledged he would not be bound by its terms, though he later said he would respect it.
Israel and Lebanon sea border deal 'historic' – US
Israel and Lebanon gas field talks on knife-edge
Israel downs Hezbollah drones headed for gas rig
Israel and Lebanon hold rare talks on sea border
Israel's borders explained in maps
Israel-Lebanon gas border dispute
Biden 'strongly disagrees' with Supreme Court on affirmative action
Does this image show new Wagner base in Belarus?
Paris to close bus and tram services tonight as riots continue
Mother of teenager killed in Iran tells of anguish
He didn't confront a school shooter. Should he be jailed?
Mum was sent to Ireland shamed and told to give me up
One man’s mission to bring bagpipes back to Nigeria
The tortured Indian labourers who were kept as slaves
What we know about killing of Paris teen… in 55 seconds. Video
Why French government backed shot teenager's family
Van life is far from glamorous on LA's streets
China crackdown pushes LGBT groups into the shadows
How MDMA changed a US white supremacist
The film Churchill tried to ban
How one temple feeds 100,000 people a day
© 2023 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.