In 1906 the Gendarmerie underwent its first major restructuring at an administrative level. It acquired its own educational and training facilities independent of those of the army (though still remaining a nominal part of the armed forces). Despite this the Gendarmerie still maintained a largely military based structure, based on its involvement in the Macedonian Struggle, and the Balkan and First World Wars. As a result, it tended to neglect civilian matters, something addressed with the establishment of a civilian city police force for Attica in 1920, which would eventually be expanded to urban centers in the entire country.