Klang is a royal town and former capital of the state of Selangor, Malaysia. It is located within the Klang District. It was the civil capital of Selangor in an earlier era prior to the emergence of Kuala Lumpur and the current capital, Shah Alam. Port Klang, which is located in the Klang District, is the 13th busiest transshipment port and the 16th busiest container port in the world.