In the 8th century, "Treise" was owned by the Abbots of Hersfeld. The Counts of "Cigenhagen" were named in a document for the first time in 1144. In 1186, Treysa was taken over by the Counts and fortified. Treysa's landmark, the Martinskirche (Church of St. Martin), nowadays known as the Totenkirche (Church of the Dead), was built in 1230. Treysa was granted town rights sometime between 1229 and 1270, and the same rights were bestowed upon Ziegenhain in 1274. After the last Count's death in 1450, the county passed to Hesse.