 They proclaimed the Commune of the Working People of Estonia, but it was able to function only for six weeks.In December, the Latvian communists controlled Riga and proclaimed the Latvian Socialist Soviet Republic.In May 1919, the communist control ended when the city was taken by combined German, Latvian and White Russian troops.