The Abwehr was created in 1920 as part of the German Ministry of Defence when the German government was allowed to form the Reichswehr, the military organization of the Weimar Republic. The first head of the Abwehr was Major Friedrich Gempp, a former deputy to Colonel Walter Nicolai, the head of German intelligence during World War I, who proved mostly ineffectual.[2] At that time it was composed of only three officers and seven former officers, plus a clerical staff.