After Latvian War of independence he stayed in the military and continued his service as commander of 3rd. Latgale infantry division.