Three Pan-European transport corridors and corridor branches run through Croatia proper. The corridor Vb encompasses the A4 motorway, spanning from Zagreb to Varaždin and the border of Hungary, and a section of the A1 and A6 motorways, extending south of Zagreb towards Karlovac and Rijeka. The transport corridor also contains a parallel railway line connecting the Port of Rijeka and Budapest via Zagreb. The second major transport route is the corridor X, represented as the A3 motorway and a double-track railway spanning the region from west to east, as well as the A2 motorway—the Xa branch of the corridor X. The three routes form junctions near Zagreb.