 In 1699, Bendahara Abdul Jalil became Sultan Abdul Jalil IV of Johor after the previous sultan, Mahmud Shah II was murdered, leaving no heir behind.After the rule of Sultan Abdul Jalil IV, the bendahara was awarded Pahang as his personal fief.Bendahara Tun Abbas and his descendants ruled Pahang continuously until Tun Mutahir, who was deposed in a civil war in 1863.