 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.