There are legends accrediting the beginnings of the town to Celtic tribes. In the 1st century A.D. Germanic tribes came, but moved on in the great Germanic migration to the west. In the 6th century the country was settled by Slavs. Some talk about a castle on Úhošť hill that might have been called Wogastisburg where a battle between Franks and Slavs occurred in 631. The battle of Canburg in 805 is also often mentioned in connection with the town, but is a mistake because locality of this name (Canburg – Kanina) is in Middle Bohemia.