Piłsudski anticipated a coming European war and the need to organize the officers of a future Polish army that could help win Poland's independence from the three empires that had partitioned her out of political existence in the late 18th century. One of the main goals of Organizacja Bojowa, other than providing funds for continuing activity and demonstrating the strength of Poland's underground, was to prepare a future cadre for the Polish Army. In 1906, Piłsudski, with the connivance and support of the Austrian authorities, founded a military school in Kraków for the training of "Bojówki".