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:The Clementinum is a historic complex of buildings in Prague. Until recently the complex hosted the National, University and Technical libraries, the City Library also being located nearby on Mariánské Náměstí. The Technical library and the Municipal library have moved to the Prague National Technical Library at Technická 6 since 2009. It is currently in use as the National Library of the Czech Republic.
Its history dates from the existence of a chapel dedicated to Saint Clement in the 11th century. A Dominican monastery was founded in the medieval period, which was transformed in 1556 to a Jesuit college. In 1622 the Jesuits transferred the library of Charles University to the Klementinum, and the college was merged with the University in 1654. The Jesuits remained until 1773, when the Klementinum was established as an observatory, library, and university by the Empress Maria Theresa of Austria.