Koper is also one of the main road entry points into Slovenia from Italy, which lies to the north of the municipality. The main motorway crossing is at Spodnje Škofije to the north of the city of Koper. The motorway continues into Rabuiese and Trieste. Koper also has a rail connection with the capital city, Ljubljana. On the coast, there is a crossing at Lazaret into Lazaretto in Muggia municipality in Trieste province. The Italian border crossing is known as San Bartolomeo.