The state is separated in the north from Perak by the line of the bernam river, to the south by the sungai sepang from Negeri Sembilan; the line of the watershed of the main range (banjaran titiwangsa) forms the boundary between Selangor and Pahang. The natural harbour formed by the islands screening pelabuhan kelang makes this nation’s second largest port.