Answer
Latvia regained its independence in November 1918 following the collapse of the Russian Empire at the end of World War I. This period marked the restoration of Latvian sovereignty after Latvia had been under foreign rule for several centuries, previously having been under Swedish, Polish, and Russian dominance.