Image caption The FBI said Mr Toth may have sought work as a nanny

A former Washington DC primary school teacher accused of producing child pornography has been arrested in Nicaragua, the FBI has said.

Eric Justin Toth, 31, replaced Osama Bin Laden on the FBI's top 10 most wanted list in April 2012.

He had been on the run since 2008, when another teacher found child pornography on a camera he had used at the school.

The head of Nicaragua's national detective force said he was arrested on Saturday near the Honduran border.

On Monday, the FBI confirmed he had been arrested in Esteli, Nicaragua.

The former school teacher and camp counsellor was indicted on federal charges in the state of Maryland in 2008.

He had been a teacher at the exclusive Beauvoir school in Washington DC for about three years.

Among other offences, he was accused of putting a camera in a boys' toilet.

After his indictment the FBI followed him through Illinois, Indiana and out west to Arizona, but the trail ran cold.

In a notice on the top 10 list, the FBI described him as "a computer expert" with "above-average knowledge regarding computers, the use of the Internet, and security awareness".