This undated photo provided by Anderson's family shows Haley Anderson.  A man accused of killing Anderson, a nursing student in upstate New York is being put on trial for the slaying in Nicaragua. Former Binghamton University student Orlando Tercero is accused of killing fellow student Anderson in 2018. The court proceeding is taking place in Managua, Nicaragua, with a Nicaraguan prosecutor and a Nicaraguan judge applying that country’s law. Witnesses have been testifying from Binghamton via streaming video. (Anderson's family/Broome County District Attorney's office via AP)

MANAGUA, Nicaragua (AP) — A Nicaraguan court on Friday convicted a dual U.S.-Nicaraguan citizen of killing a nursing student in New York state after an unusual trial that saw many witnesses testifying by long-distance video conference.

Broome County District Attorney Steve Cornwell confirmed Orlando Tercero's conviction in a tweet. The 23-year-old former Binghamton University student was found guilty of the March 2018 killing 22-year-old Haley Anderson. Witnesses said the two had a romantic relationship but Tercero wanted a more serious relationship, according to trial testimony. Anderson, originally from Westbury on Long Island, was found strangled in his bed.

Tercero fled to Nicaragua the day after the killing.

The trial was held in the Nicaraguan capital of Managua because the Central American nation's laws forbid extradition of its citizens.

The Broome County District Attorney's office in New York facilitated testimony by witnesses who spoke with the help of a translator via a video link from a room in the district attorney's office in downtown Binghamton.

One of the witnesses, a police investigator, testified via the video link that Tercero left a note at his residence saying he was sorry.

Citing Judge María Fabiola Betancourt, a prosecution official said sentencing for Tercero would be held within days. The maximum sentence in Nicaragua is 30 years. Anderson's parents said they wanted Tercero to receive the maximum penalty, according to the Binghamton Press & Sun-Bulletin.

"We saw something that we haven't seen before, but we saw two governments working together, law enforcement agencies working together," Cornwell told the Binghamton Press & Sun-Bulletin after the verdict was announced. "Although not what we wanted, we wanted to have the trial here, but we saw justice take place in a courtroom on an international stage."

The victim's father, Gordon Anderson, also praised the way Nicaragua handled the case, telling the Binghamton newspaper that the verdict provided "some ease to the heartache and a little bit of conclusion."

"I mean it's not over, and there will always be an emptiness that's there, but it was nice to see that Nicaragua did a really professional, bang up job to get the job done," he added.

FILE - In this Oct. 11, 2019 file photo, Orlando Tercero appears in court during his trial in Managua, Nicaragua. Moreno is accused of killing 22-year-old U.S. nursing student Haley Anderson in 2018.  The court proceeding is taking place in Managua, Nicaragua, with a Nicaraguan prosecutor and a Nicaraguan judge applying that country’s law. Witnesses have been testifying from Binghamton via streaming video. (AP Photo/Oscar Duarte, File)
FILE - In this Oct. 11, 2019 file photo, lawyer Eduardo Rubi, left, appears in court with his client Nicaraguan Orlando Tercero in Managua, Nicaragua.  Moreno is accused of killing 22-year-old U.S. nursing student Haley Anderson in 2018.  The court proceeding is taking place in Managua, Nicaragua, with a Nicaraguan prosecutor and a Nicaraguan judge applying that country’s law. Witnesses have been testifying from Binghamton via streaming video. (AP Photo/Oscar Duarte, File)
FILE - In this Oct. 11, 2019 file photo, lawyer Eduardo Rubi, center left, sitting in light blue shirt, appears in court with his client Orlando Tercero in Managua, Nicaragua.  Moreno is accused of killing 22-year-old U.S. nursing student Haley Anderson in 2018.  The court proceeding is taking place in Managua, Nicaragua, with a Nicaraguan prosecutor and a Nicaraguan judge applying that country’s law. Witnesses have been testifying from Binghamton via streaming video. (AP Photo/Oscar Duarte, File)
FILE - In this Oct. 11, 2019 file photo, lawyer Eduardo Rubi, center, sitting, appears in court with his client Orlando Tercero  in Managua, Nicaragua. Moreno is accused of killing 22-year-old U.S. nursing student Haley Anderson in 2018.  The court proceeding is taking place in Managua, Nicaragua, with a Nicaraguan prosecutor and a Nicaraguan judge applying that country’s law. Witnesses have been testifying from Binghamton via streaming video. (AP Photo/Oscar Duarte, File)