The top U.S. diplomat for Africa made a surprise visit to Somalia Saturday for talks with the prime minister and president, officials said.

U.S. Assistant Secretary of State for African Affairs Jendayi Frazer is the highest ranking U.S. diplomat to visit the country in 14 years, said Mohamoud Abdi Begos, Somalia's deputy minister for energy and petroleum.

"She will meet the prime minister and president and is here to help with the national reconciliation of Somalia," he told The Associated Press.

Frazer was supposed to travel to war-ravaged country in January but the trip was called off at the last minute due to security concerns.

The United States is a major financial supporter of the weak transitional Somali government and the peacekeepers, pledging more than $120 million.