After four years of boycott, Bahrain and Qatar have agreed to restore diplomatic relations, with Bahrain being the last of four Arab nations to lift its boycott since 2017.
Qatar's four neighbors were angered by Doha's alleged support for groups that rose to power in some countries following the 2011 Arab Spring protests.
The boycott was lifted at the start of 2021, and Saudi Arabia, the United Arab Emirates and Egypt have restored ties with Qatar since then, with top leaders paying official visits in recent months.
Bahrain and Qatar each issued official statements announcing the decision to restore relations following a meeting between their delegations at the headquarters of the Gulf Cooperation Council, a six-nation bloc of which both are members, in the Saudi capital of Riyadh.
The four nations had severed all ties to Qatar, and at the height of the crisis there was even talk in local media of digging a trench along the 87-kilometer (54-mile) border between Qatar and Saudi Arabia and filling it with nuclear waste.
The boycott had little impact on Qatar's economy, however. The tiny Gulf country, which hosted football's World Cup last year, is one of the wealthiest countries on Earth owing to its vast natural gas reserves. Türkiye stepped in to aid Qatar during the crisis.
Wednesday's agreement comes amid regionwide efforts by longtime enemies to repair relations following years of war and unrest sparked by the 2011 protests.
Saudi Arabia welcomed Syria's foreign minister earlier Wednesday. It was the latest sign that the Arab League might be ready to reinstate Damascus after suspending its membership more than a decade ago as Syria's Bashar Assad launched a brutal crackdown on pro-democracy protests.
Last month, Saudi Arabia and its main regional rival, Iran, agreed to restore diplomatic ties that had been severed in 2016, in an agreement brokered by China.