Here is a piece of text: Ugandan police have arrested eight people in connection with the kidnapping of American tourist Kimberly Sue Endicott, from Costa Mesa, and her Ugandan tour guide, Jean Paul Mirenge.
It was not clear if the suspected kidnappers were targeting Americans or just foreigners in general.
The suspects were arrested in the last 24 hours, Enanga said, with the help of a joint task force consisting of the Ugandan security services and representatives from the United States military.
“These arrests have given us the identity of the prime suspect we are looking for,” Enanga said, while confirming that they are directly related to the kidnap of Endicott and Mirenge.
Both victims were abducted at gunpoint while on a game drive on April 2 in Queen Elizabeth National Park, in southwest Uganda.
Ugandan police said an armed gang had kidnapped Endicott and her guide, and made frequent demands for a ransom of $500,000 using their victims’ cell phones.
They were freed unharmed on Sunday in the Democratic Republic of Congo, which borders the park. According to a government official, the kidnappers fled the scene when law enforcement officers and soldiers moved in.
There have, however, been conflicting reports over whether a ransom was paid. Police had said they would not offer the money. But a source with knowledge of the exchange told CNN on Sunday that a ransom was given. The handover was “quiet and peaceful,” the source said.
Endicott arrived in the Ugandan capital of Kampala on Monday. Mike Rourke, the manager of Wild Frontiers Uganda, told CNN that Endicott was in the custody of personnel from the US Embassy.

Based on the text material above, generate the response to the following quesion or instruction: How did the joint task force consisting of Ugandan security services and representatives from the United States military lead to the arrest of the kidnapping suspects?
This prompt doesn't seem malicious.