 When attack of the Bermontians started Zemitāns was commanding officer of the all Latvian units in Riga front.He failed to organise the defence of Riga and left bank of the Daugava and was dismissed from duty and replaced by Mārtiņš Peniķis.From January 1920, Zemitāns worked at the Latvian Military Court and participated in development of military manuals until 1 April 1922 when he retired.