The Rigans eventually lost the fight and were forced to rebuild the castle – the restoration was finished in 1515.
After the Treaty of Vilnius order ceased to exist in 1561 the Castle became Lithuanian and in 1569 - Polish-Lithuanian stronghold.
After Soviet occupation, the castle housed the Council of People Commissars of Latvian SSR in 1940–1941.
[6][4] After midnight authorities declared the fire reached the highest level, being seen across the Daugava river.
[7] Around 1 a.m., the State Fire and Rescue Service (SFRS) reported that 79 rescuers, 11 tanks, 3 ladders, 1 platform and 3 specialized vehicles were involved in the operation,[5] and that one firefighter, who was poisoned by the smoke, had been hospitalized.
[8] At 3:53 in the morning the source of the fire was spotted,[5] and at 4:45 a.m. the traffic was restored on the 11 November Embankment [lv], between Stone and Vanšu bridges.
[8] Latvian President Andris Bērziņš described the fire as a "national tragedy" during a morning visit to inspect the damage.
[13] During the fire there were wide concerns spreading on social media about the status of unique museum collections located at the Castle.