Latvia, up to 1944