The BSR forces – led by, of all people, Ernst Toller – was victorious in the first battle at Dachau, but Hoffman made a deal which gave him the services of 20,000 men of the Freikorps under Lt. General Burghard von Oven. Oven and the Frikorps then took Dachau and surrounded Munich, panicking Egilhofer, who had the hostages he was holding executed, despite the efforts of Toller to prevent it. The Freikorps broke through the Munich defenses on 1 May, and, after the execution of at 1,000-1,200 Communists and anarchists, Oven declared the city to have been secured on 6 May, ending the Bavarian Soviet Republic.[18]