BARCELONA, Spain — The Spanish police on Saturday identified a body found on a farm in northern Spain as that of an American tourist who disappeared five months ago as she walked along the Camino de Santiago, an ancient Catholic pilgrimage route.

The body of the tourist, Denise Thiem, 41, of Arizona, was discovered on Friday shortly after the police detained a man who owned the property, near the town of Astorga. Ms. Thiem went missing on April 5, Easter Sunday, when she was due to start another leg of her pilgrimage, from Astorga to the cathedral of Santiago de Compostela.

Spanish television showed officers leading the handcuffed suspect, whom local news media later identified as Miguel Ángel Muñoz Blas, 39. He was arrested on Friday in a bar in the village of Grandas de Salime, about 120 miles from his property.

Speaking from Astorga, Spain’s interior minister, Jorge Fernández Díaz, told reporters that the suspect had a police record, without elaborating. As part of their investigation, the police also want to establish whether Ms. Thiem’s death can be connected to reports of threats and harassment along the Camino.