This is an archived article that was published on sltrib.com in 2014, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

Mogadishu, Somalia • A German-American journalist who was kidnapped in Somalia more than two years ago was freed Tuesday, according to a Somali police official and a leader of the Somali pirates who held the journalist.

The journalist, identified by the German weekly Der Spiegel as 45-year-old Michael Scott Moore, was immediately flown to Kenya's capital, Nairobi, after being freed, Somali police official Mohamed Hassan said by phone from the town of Galkayo in north-central Somalia.

Some of the pirates who held Moore reached a deal with negotiators after ransom was paid, said Bile Hussein, a pirate commander in the Somali coastal town of Hobyo. Moore, who was held in several locations as his captors tried to avoid detection, was most recently held near the central Somali town of Adado, Hussein said, offering no more details.

Germany's Foreign Ministry confirmed a "German citizen who also had U.S. citizenship who was kidnapped in Somalia was set free today" but wouldn't give further details.

Der Spiegel, for which Moore had freelanced, reported on its website Tuesday that Moore was taken by plane to the Somali capital, Mogadishu. He was kidnapped in January 2012 while researching a book on piracy. Der Spiegel didn't provide details on the circumstances under which Moore was freed.

Although piracy once was a scourge off the coast of Somalia, it has dropped significantly as a result of armed guards aboard cargo ships and an international naval armada that carries out onshore raids.