Tērvete village is famous for the historic hillfort built for the kings of Western Zemgale in the Middle Ages. According to popular legend the Semigallian king Namejs made a ring called the 'namejs' so he could be identified by his family. But his enemies got hold of this information and sought the ring to kill the king (during a war) to have victories. The villagers also created these rings in order to protect the King. And for this reason Namejs is a popular ring for Latvians. In 1287 the Semigallian castle was destroyed by the Livonian Order of knights. In 1335 the wooden castle Hof zum Berg Kalnamuiža was built by the Order of Livonia near to the site of the former Semigallian fortifications, destroyed by the Lithuanian forces in 1445.
A second legend describes the story of the German crusaders slowly moving into Latvian territory in the Middle Ages, taking over tribe after tribe. Namejs, the Semigallian king, was the last to subdue to the crusaders' power. Namejs and his people left their land and went south into Lithuanian territory. Namejs didn't want his people to forget their heritage and their origins and had the namejs ring designed for all of his people so that they could identify each other and have a common bond. Now it is a popular ring amongs Latvians that live outside of Latvia because it shows their love for Latvia and recognition of their heritage.
In 1819 K.F.Watson declared the hillfort on right bank of Tērvete river to be the site of the legendary Tērvete castle described in chronicles from the Middle Ages The hillfort was excavated by August Bielenstein between 1866 and 1892 The expedition of the Latvian Museum of History led by E. Brīvkalne carried out excavations in 1952-53 and 1954–59.
References:Trenčín Castle is relatively large renovated castle, towering on a steep limestone cliff directly above the city of Trenčín. It is a dominant feature not only of Trenčín, but also of the entire Považie region. The castle is a national monument.
History of the castle cliff dates back to the Roman Empire, what is proved by the inscription on the castle cliff proclaiming the victory of Roman legion against Germans in the year 179.
Today’s castle was probably built on the hill-fort. The first proven building on the hill was the Great Moravian rotunda from the 9th century and later there was a stone residential tower, which served to protect the Kingdom of Hungary and the western border. In the late 13th century the castle became a property of Palatine Matúš Csák, who became Mr. of Váh and Tatras.
Matúš Csák of Trenčín built a tower, still known as Matthew’s, which is a dominant determinant of the whole building.