Deputy Prime Minister, Otto Tief. The Nazi German flag on Pikk Hermann was replaced with the flag of Estonia two days later. On September 21 the Estonian national government was proclaimed. Estonian forces seized the government buildings in Toompea and ordered the German forces to leave. The Red Army took Tallinn on September 22 and the Estonian flag on Pikk Hermann was replaced with the Red flag. After the evacuation of the German forces, the Estonian military units under the command of Rear Admiral Johan Pitka continued to resist the Red Army. The Estonian troops were defeated by the Soviet advance units in the battles held on September 23 west of Tallinn near Keila and Risti.