The town was home to a magione (pilgrim house) built in the Middle Ages by the Knights Templar, hence the current name.
The town's current name is derived from a historical structure built by the Knights Templar during the Middle Ages, which served as a pilgrim house.