Kraków. (It is said that actually Wisła Kraków was the first professional football team and not Cracovia). In 1911, a Kraków-based Union of Polish Football for Galicia was formed and entered the Austrian Football Association. The union inspired the creation of a number of teams. After the outbreak of World War I, most of the Galician football players, many of them members of either Strzelec or Sokół, joined Piłsudski's Polish Legions. The unit, fighting alongside the Austro-Hungarian Army, fought mostly in various parts of Russian-held Poland, which led to popularisation of the new sport in other parts of partitioned Poland. Eventually, Poland regained its independence in 1918 and football of Poland officially began. 1919–1939: Early years The first football federation was established on 25 June 1911 in Lwów as the Polish Football Union (Związek Polski Piłki Nożnej). After World War I, members of PFU established the Polish Football Federation (Polski Związek Piłki Nożnej) in Warsaw on 20 December 1919. Two years later, they appointed Hungarian-born Jesza Poszony as the first coach of the Polish national team. Poland played its first official international match on 18 December 1921 in Budapest, where the side lost to Hungary 1–0. Their first international win came on 28 May 1922 when they took on Sweden in Stockholm and beat them 2–1. Józef Klotz scored the first-ever goal for the national football team in that game. Poland qualified for their first World Cup in 1937 when they beat Yugoslavia 4–0 and lost 1–0 in the two qualifying matches and ensured their place in the 1938 World Cup in France. During their debut in the World Cup, Poland played Brazil and sent them to extra time, only to lose 6–5. Ernest Wilimowski, who played for Ruch Chorzów at the time, scored four of Poland's five goals. Poland played what would be their last international match before the outbreak of World War II against Hungary, the runners-up in the 1938 World Cup. Poland defeated Hungary 4–2. 1939–1945: Ban on football under the occupation When the Wehrmacht invaded Poland in September 1939, all Polish institutions and associations were dissolved, including the Polish Football Association PZPN. The German occupying forces forbade Poles to organise football matches. Consequently, there was no national team. Nine former national players were murdered by the German occupying forces. Three of them were killed in Auschwitz: Marian Einbacher, Adam Knioła (both Warta Poznań) and Antoni Łyko