A woman who wrote President Barack Obama, asking for help resolving her husband's immigration problem got a response she didn't expect: Federal agents turned up at her New York City home and took her husband to jail.

Officials tell The New York Times that Caroline Jamieson's letter to the president was mistakenly forwarded to an immigration fugitive unit. After the newspaper inquired about the case, the man, Herve Fonkou Takoulo, was released.

Takoulo is an engineer from Cameroon. He came to the U.S. legally, but was ordered to leave when a judge rejected his application for political asylum. Now he has a second green card application pending based on his 2005 marriage to Jamieson.

Still, the deportation order remains in effect.