The desire to control the Klang Valley led directly to the Klang War (also called the Selangor Civil War) of 1867–1874 when Raja Mahdi fought to regain what he considered his birthright as territorial chief against Raja Abdullah.