Between January and September 1918 German pilots shot down 3,732 Allied planes while losing 1,099 aircraft. By the end of the war, the German Army Air Service had a total of 2,709 frontline aircraft, 56 airships, 186 balloon detachments and about 4,500 flying personnel. After the war ended in German defeat, the service was dissolved completely. The Treaty of Versailles demanded that its aeroplanes should be destroyed.