At Bolesławiec the E 36 joins the much longer E40 route which, originating at Calais in France, runs for more than 8000 kilometers via Kraków and Lviv to Ridder in Kazakhstan, on the western border of China.