<prompt> Translate the following text to EnglishKwa kumsaidia mfalme huyo kukomesha uasi wa wakuu wa Malaya, Brooke alipewa cheo cha Rajah wa Sarawak mwaka 1841 na mji mkuu wake ulikuwa Kuching iliyoanzishwa na Wamalaya miaka 11 tu mapema.  <response>: In exchange for helping the regent end a revolt of uppity Malay chiefs, Brooke was made Rajah of Sarawak in 1841, with his capital in Kuching founded by the Malays just 11 years earlier. 