The Ural is a river flowing through Russia and Kazakhstan. It arises in the southern Ural Mountains and ends at the Caspian Sea. Its total length is 1,511 mi (2,428 km) making it the third longest river in Europe after the Volga and the Danube. Along with the Volga, the Ural River is one of the major rivers feeding the Caspian Sea. The Ural River arises on the eastern side of the Ural Mountains, flows south parallel and west of the north-flowing Tobol River, through Magnitogorsk, and around the southern end of the Urals, through Orsk where it turns west for about 300 km, to Orenburg, when the Sakmara River joins.