The autostrada A4 in Poland is a long east-west motorway that runs through southern Poland, along the north side the Sudetes and Carpathian Mountains, from the Polish-German border at Zgorzelec-Görlitz (connecting to A4 autobahn), through Wrocław, Opole, Gliwice, Katowice, Kraków, Tarnów and Rzeszów, to the Polish-Ukrainian border at Korczowa-Krakovets (connecting to M10). It is a part of European route E40.