The 18th Army resumed their advance in Estonia by working in cooperation with the Forest Brothers. The joint Estonian-German forces took Narva on 17 August. By the end of August, Tallinn was surrounded, while in the harbor was the majority of the Baltic Fleet. On August 19, the final German assault on Tallinn began. The joint Estonian-German forces took the Estonian capital on August 28. The Soviet evacuation of Tallinn carried heavy losses. On that day, the Red flag shot down earlier on Pikk Hermann was replaced with the flag of Estonia. After the Soviets were driven out from Estonia, German troops disarmed all the Forest Brother groups. The Estonian flag was replaced shortly with the flag of Germany.