Lebanon on Friday signed a deal with Syria to transfer around 300 convicted prisoners to Damascus, a step viewed as an important move toward resetting relations between the two countries.
Overcrowded Lebanese prisons host more than 2,200 Syrians held on various charges.
Many of them are still awaiting trial, while hundreds accused of "terrorism" or related offenses, including attacks on Lebanese forces, have been brought before military courts.
Others are in custody for alleged membership in terrorist or armed groups that were opposed to the now ousted Syrian dictator Bashar Assad, who was supported by Lebanon's Hezbollah group during the Syrian civil war.
Lebanese Deputy Prime Minister Tarek Mitri and Syrian Justice Minister Mazhar al-Wais announced the signing of the agreement at a news conference in Beirut.
Wais called it "an important step on the path to justice in addressing the situation of convicts who have spent a long time in prison and whose cases were among the most complex legally."
The agreement covers around 300 convicts, while the remaining detainees require "long procedures" before a similar agreement on them can be reached, Wais said.
The deal reinforces "the trust and political will that already exists between the two countries," he said.
Syrian Foreign Minister Asaad al-Shaibani said on X that the step was "a historic milestone" towards resolving the issue and "a starting point for robust strategic relations".
Lebanese authorities have said that the convicts who meet the requirements, including having spent at least 10 years behind bars, will be handed over to Syria, where they will serve out the rest of their sentences.
Mitri told AFP that cooperation extended beyond the issue of convicts, with officials working to "resolve all common issues that will set bilateral relations right."
The first step following the deal's signing would be a cabinet decision to "abolish the Lebanese-Syrian Higher Council," an Assad-era body.
Authorities will also review "unfair agreements concluded during the time of Syrian tutelage in Lebanon, as well as the demarcation of the land and maritime borders," Mitri added.
Syria's army entered Lebanon in 1976 as part of an Arab force that was supposed to put an end to the Lebanese civil war, which began a year earlier.
Instead, Syria became the dominant military and political force in Lebanon, looming over all aspects of Lebanese life.
Syrian forces only withdrew from the country in 2005 after enormous pressure following the assassination of former prime minister Rafic Hariri, a killing attributed to Damascus and its ally Hezbollah.