KAMPALA, Uganda — An American woman and her Ugandan guide who were kidnapped while on safari this past week have been freed after a ransom was paid, according to officials with the safari company with which they were traveling.

Image Kimberly Sue Endicott, right, moments after she was rescued. Credit... Military of Uganda

The Ugandan police said in a statement posted on Twitter Sunday that the police and security forces “have rescued” the two kidnapping victims. One official with the safari company, Wild Frontiers, who asked not to be named, said the two were currently “enjoying a square meal and hot shower” at a wilderness camp in Uganda run by the company.

They were dropped off at a point near the border of Uganda and the Democratic Republic of Congo on Sunday, the official said. He asked not to be named because he was not authorized to provide details about the circumstances of the release.