<prompt> Translate the following text to SwahiliFor Johor, astute, tough-minded Sultan Abu Bakar avoided protectorate status by going to London to negotiate a straight alliance, getting a Consul rather than a Resident.  <response>: Kwa Johor, Sultan Abu Bakr, mwenye akili kali, aliepuka hali ya ulinzi kwa kwenda London kujadili muungano wa moja kwa moja, akipata Mshauri badala ya Mkaaji. 