An extensive network of rivers originates from the inland mountain ranges and hills. Perak's borders with the states of Kedah, Penang and Selangor are marked by rivers, including the Bernam and Kerian Rivers. Perak has 11 major river basins of more than . Of these, the Perak River basin is the largest, with an area of , about 70% of the total area of the state. It is the second largest river basin on the Malay Peninsula, after the Pahang River basin. The Perak River is the longest river in the state, at some , and is the Malay Peninsula's second longest after the Pahang River. It originates in the mountains of the Perak-Kelantan-Yala border, snaking down to the Strait of Malacca. Other major rivers include the Beruas, Jarum Mas, Kurau, Larut, Manjung, Sangga Besar, Temerloh, and Tiram Rivers.