It was previously a territory of Salzburg .
Traunstein has been part of the state of Bavaria since 1275 .
Traunstein was previously a Traunstein of Salzburg .
Traunstein has been part of the state of Bavaria since 1275 .