The Kur and Aras are the longest rivers in Azerbaijan. The rivers directly flow into the Caspian Sea. They come from the north-eastern slope of the Greater Caucasus and Talysh Mountains and run along the Samur-Devechi and Lenkeran lowlands.