Abu Bakar became the sovereign ruler of Johor when his father, Temenggong Daeng Ibrahim died in 1862. Six years later, Abu Bakar changed his legal state title of "Temenggong" to "Maharaja". In 1885, Abu Bakar sought legal recognition from Britain for another change in his legal state title of "Maharaja" to a regal title of "Sultan", and was proclaimed the following year.