Police in Dresden say they have arrested a 55-year-old police officer on suspicion of murder after the body of another man was found in the Erz mountains in eastern Germany.
Police believe that the two men met via an internet site for those interested in sex with torture.
They say that the victim was tortured, killed and dismembered, and that his body parts were buried on a piece of land in the mountainous region which belonged to the alleged killer.
The arrested man works for Saxony's State Office of Criminal Investigation in the forensics department.
Germany's Bild tabloid reports that he is an expert in handwriting analysis.
The BBC's Stephen Evans in Berlin says that it is not clear whether the killing was deliberate or whether it was the playing out of fantasy which went wrong.
Police say that body parts of the victim were missing, and they presume that cannibalism took place.