By the end of his rule, Selangor was separated into five individual territories, namely Bernam, Kuala Selangor, Kelang, Langat and Lukut.