St. James's Cathedral, or the Cathedral Basilica of St. James is dedicated to Saint James the Greater. It is frequently referred to by the name St. Jacob because Latvian, like many other languages, uses the same name for James and Jacob.
The church building was dedicated in 1225. It was not originally a cathedral since the Rīgas Doms served that function. At the beginning of the 15th century the Holy Cross Chapel was built at the south end of the early Gothic church, and part of the church was transformed into a basilica. In 1522 during the Protestant Reformation the building became the second German language Lutheran church in Riga. In 1523 it became the first Latvian language Lutheran church there.
In 1582 it was given to the Jesuits as part of the Counter-Reformation when Stephen Báthory of the Polish-Lithuanian Commonwealth gained control of Riga. In 1621 it was given back to the Lutherans after Gustav II Adolf of Sweden occupied Riga. At various times it served as a Swedish language, German language, or Estonian language Lutheran church. In 1812 it was used as a food storehouse by Napoleon's troops.
In 1901 the oldest Baroque altar in Riga from 1680 was replaced by a new one. Following a referendum in 1923, the building was given back to the Catholics for use as their cathedral since the Rīgas Doms was now an Evangelical Lutheran cathedral.
References:Duino Castle was built by the Wallsee family in 1389 on the cliffs overlooking the Gulf of Trieste. It replaced an older castle from the 11th century. Over time, the Wallsee family disappeared and the castle, after having been used as a prison, became the residence of the Luogar and Hofer.
At the end of the 19th century it became the property of Prince Alexander von Thurn und Taxis from the Czech branch of the House of Thurn and Taxis. It remains with the family to this day with his great-grandson Prince Carlo Alessandro della Torre e Tasso, Duke of Castel Duino the current owner. The castle has been opened to the public as a museum and park.