A castle and tower were built above the town for defense purposes .
A castle and tower were later became the residence of the bishop 's governor .
A castle and tower were built above the town for defense purposes and later became the residence of the bishop 's governor .