Latvia parts of the Russian Empire, which may have been influenced by the Protestant religion of the inhabitants. World War I devastated the territory of what became the state of Latvia, and other western parts of the Russian Empire. Demands for self-determination were initially confined to autonomy, until a power vacuum was created by the Russian Revolution in 1917, followed by the Treaty of Brest-Litovsk between Russia and Germany in March 1918, then the Allied armistice with Germany on 11 November 1918. On 18 November 1918, in Riga, the People's Council of Latvia proclaimed the independence of the new country, with
History of Latvia meant that Latvia had to build a new railway line. Latvia received town of Aknīste and some smaller territories in Aknīste Municipality, Ukri parish and Bauska Municipality. Latvia gave up 283,3 square km, while receiving 290 km. About 16-20 000 ethnic Latvians thus became Lithuanian citizens. As a result of Polish–Soviet War, Poland secured a 105 km long border with Latvia. In July 1919 Poland announced annexation of all lands south of Daugavpils and their inclusion in Braslaw district. Latvia could not complain, as it still needed Polish military help for the decisive Battle of Daugavpils against the Soviets. The