 During the Ulmanis dictatorship in Latvia 1934–1940, Arājs was a "low ranking provincial police officer" who, as a loyal administrator, dutifully "distanced himself officially from the Pērkonkrusts", the ultra-nationalist party in Latvia.The war between Germany and the Soviet Union began on 22 June 1941.Shortly afterwards, the Red Army abandoned Riga to the advancing Wehrmacht.