Complex sentence: This tower was once part of one of the three main medieval city gates and temporarily served as mint in the 17th century, hence the name.
Split into simpler sentences: This tower was once part of one of the three main medieval city gates. In the 17th century, it temporarily served as mint, hence the name.