It was by them in the 4th century BC the first inhabitants settled and established a permanent residence. The Greek geographer, astronomer, and mathematician Claudius Ptolemy arrived in these areas in the 2nd century BC and named them Treva. The name Hammaburg was given in 858 to a nearby stronghold, which was built to defend the church that had existed here since 810.