The police constables, Joseph Wambugu and Fredrick Chirchir, were kidnapped in an attack in May 2013 in Kenya's northeastern Garissa district, when four other officers were killed.
The pair were taken across the porous border into war-torn Somalia, where "they were moved from one Al-Shebab hideout to another in a bid to defeat any rescue efforts by Kenyan security forces," Kenyan police chief Joseph Boinnet said late yesterday.
He said the men, who were freed on June 25 but whose release was only made public yesterday, were in "good health but traumatised."
Boinnet gave no details of how they were freed, but thanked the "several security agencies which undertook this delicate rescue mission."
More From This Section
Under pressure in Somalia, Shebab is now increasingly targeting Kenya. It has also stepped up attacks during the Muslim fasting month of Ramadan, including killing 14 Kenyans on Tuesday in the northern town of Mandera.
In April, the Al-Qaeda-linked militants massacred 148 people at the region's Garissa University, most of them students.