A female ranger travelling with them was killed
Two British nationals who were held hostage in the Democratic Republic of Congo have been released, the UK Foreign Secretary Boris Johnson has said.
They were among three people abducted by unidentified armed men while reportedly visiting Virunga National Park, a renowned gorilla sanctuary in the east of the country.
A female ranger travelling with them was killed and their driver was also taken captive, a park spokesman said.
In a statement, Mr Johnson said: "I am delighted to announce that two British nationals who were held hostage in the Democratic Republic of Congo have been released.
"I pay tribute to the DRC authorities and the Congolese Institute for Nature Conservation for their tireless help during this terrible case.
"My thoughts are now with the family of Virunga Park ranger Rachel Makissa Baraka who was killed during the kidnapping, and with the injured driver and the released British nationals as they recover from this traumatic incident."
The park released a statement saying Ms Baraka was trying to protect two passengers and the driver of the vehicle when it was attacked by armed assailants.
They said she was taken to hospital for treatment but died from her injuries.
The park's director, Emmanuel de Merode, said: "Ranger Baraka's life was tragically cut short in service to Virunga National Park.
"She was one of the Park's 26 female rangers and was highly committed, showing true bravery in her work.
"We wish to extend our sincerest condolences to her family, and our thoughts are with all those affected by this incident."
The park has experienced an increase in violence in recent months.
Armed groups have staged a series of raids to steal resources, particularly charcoal.
Last month, five young rangers and a driver in the park were killed in an ambush.
It was the deadliest attack in recent years and took the total number of rangers killed to 175.