but unhappy rule of the Trinci warlords of Foligno. In 1438 Trevi passed under the temporal rule of the Church as part of the legation of Perugia, and thenceforth its history merges first with that of the States of the Church, then (1860) with the united Kingdom of Italy. Trevi's best fortunes were in the 15th century, when its commercial importance was such that it was called "il porto secco" — the dry port. In 1470, along with Foligno, Trevi became the fourth town in Italy to have a printing press, managed by the first known printing company. The wealth of this period can still be seen in a number of Renaissance mansions in town. Durastante Natalucci (1687–1772) was an Italian historian who specialized in the history of Trevi. Main sights Trevi is enclosed in two circuits of medieval walls; in the late 20th century, the inner circuit was shown to be of Roman origin. Trevi has about twenty old churches, several of which are of note: The Duomo of Sant' Emiliano is a Romanesque building with a carved door and an apse with carved corbels, the interior of which was significantly reworked in the 18th century. The Madonna delle Lacrime is a medieval conventual church with large votive frescoes, including an Adoration of the Magi by Pietro Perugino, his last known signed and dated work. The chapel of Saint Francis was frescoed by Lo Spagna, one of Perugino's pupils. S. Martino, with Lombard lapidary remains and good paintings by Mezzastris. S. Francesco, a large Gothic building, now housing a museum. San Pietro in Bovara is a medieval monastery in Bovara Santo Stefano in Manciano, another monastery in Manciano, has only its church remaining. The territory of the comune is particularly rich in Romanesque churches: some of those in the plain, erected on the Roman Via Flaminia when that road was in use, and incorporating a fair amount of Roman spolia, remain as markers of the road's course. Museums Trevi's main museum is the Museo S. Francesco, attached to the Gothic church of that name, now secularized; it contains some slight Roman lapidary material, but a more important collection of Umbrian painting from the late Middle Ages through the 17th century: the main work is the Coronation of the Virgin altarpiece by Lo Spagna, originally in San Martino. Particularly notable are a group of ex-votos representative of 16th‑ through 18th‑century