Germany's government says a German man who was kidnapped in Pakistan more than two years ago has been freed in Afghanistan.

The Foreign Ministry said Friday that the man is now in the care of the German government and is being given medical and psychological care. It said that "foreign partners" helped bring about the man's release, but didn't elaborate.

The ministry wouldn't give details on when and how the man was freed, or comment on his identity.

Germany's Bild daily reported, without citing sources, that the man was an aid worker, was held by the Taliban, and that a German special forces team was sent to Kabul to prepare for his release.