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 Temple of Edfu is one of the best preserved ancient shrines in Egypt. It was built in the Ptolemaic Kingdom between 237 and 57 BC.
Edfu was one of several temples built during the Ptolemaic Kingdom, including the Dendera Temple complex, Esna, the Temple of Kom Ombo, and Philae. Its size reflects the relative prosperity of the time. The present temple initially consisted of a pillared hall, two transverse halls, and a barque sanctuary surrounded by chapels. The building was started during the reign of Ptolemy III Euergetes and completed in 57 BC under Ptolemy XII Auletes. It was built on the site of an earlier, smaller temple also dedicated to Horus, although the previous structure was oriented east–west rather than north–south as in the present site.