At the beginning of the 14th century , Traunstein was granted the status of a town .
It was previously a territory of Salzburg .
At the beginning of the 14th century , territory was granted the status of a town .
It was previously a territory of Salzburg .