<P> Belgium declared its intention to remain neutral in the event of war in the lead up to the conflict . In May 1940, Germany launched a surprise attack during its wider invasion of France, and although Belgian forces resisted the German invasion for 18 days, on 28 May 1940, the Belgian army and its commander, King Leopold III, officially surrendered . The King, and much of his army, were incarcerated and remained imprisoned for the rest of the war . </P> <P> The elected government left for France, and then England, where it established a government in exile based in London and Free Belgian army . The country itself was placed under German military occupation, opposed by the resistance, which lasted until its liberation after September 1944 . During the course of the occupation, around 25,000 Belgian Jews were killed . </P> <P> The Belgian Colonial Empire, notably the Belgian Congo, remained loyal to the Allies despite the surrender and played an important role as an economic asset, producing large amounts of important raw materials . Congolese troops also fought the Italians in East Africa . </P> <P> Bolivia was one of many Latin American countries to declare war on Germany later on in the war, joining the Allies on 7 April 1943 . It was one of the 2 countries to declare war in 1943, the other being Colombia . Shortly after war was declared, the President of Bolivia, Enrique Peñaranda, was overthrown in a coup . The new ruler, Gualberto Villarroel, had fascist and anti-Semitic leanings, but foreign pressure compelled him to remain at peace and to suppress his more extreme pro-Nazi supporters . Bolivian mines supplied needed tin to the Allies, but with no coastline, the landlocked country did not send troops or warplanes overseas . </P>

How many countries did germany fight in ww2