Built near the River Daugava in 1211 by Livonian Bishop Albert of Riga, who came from Lower Saxony in northwestern Germany, it is considered the largest medieval church in the Baltic states. It has undergone many modifications in the course of its history.
The organ of the Riga Cathedral was built by E.F. Walcker & Sons of Ludwigsburg, Baden-Württemberg, Germany, in 1882–83,  and was inaugurated on 31 January 1884. It has four manuals and one pedalboard. It plays 116 voices, 124 stops, 144 ranks, and 6718 pipes. It includes 18 combinations and General Crescendo. A tape of Latvian composer Lūcija Garūta playing the organ for a cantata during World War II captured the sound of battle nearby.