During World War I, Kirhenšteins served in the Serbian army as a military veterinarian. He returned home to Latvia in 1917, later becoming a captain in veterinary units of the Latvian National Armed Forces during the Latvian War of Independence.