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:Rosenborg Palace was built in the period 1606-34 as Christian IV’s summerhouse just outside the ramparts of Copenhagen. Christian IV was very fond of the palace and often stayed at the castle when he resided in Copenhagen, and it was here that he died in 1648. After his death, the palace passed to his son King Frederik III, who together with his queen, Sophie Amalie, carried out several types of modernisation.
The last king who used the place as a residence was Frederik IV, and around 1720, Rosenborg was abandoned in favor of Frederiksborg Palace.Through the 1700s, considerable art treasures were collected at Rosenborg Castle, among other things items from the estates of deceased royalty and from Christiansborg after the fire there in 1794.
Soon the idea of a museum arose, and that was realised in 1833, which is The Royal Danish Collection’s official year of establishment.