<prompt> Translate the following text to SwahiliThe new ruler grew wealthy and powerful, twice declaring war on his sovereign and almost beating the sizeable but dissolute Ottoman army.  <response>: Mtawala huyo mpya akawa tajiri na mwenye nguvu, akitangaza vita mara mbili dhidi ya mtawala wake na karibu apige jeshi kubwa la Ottoman lakini lenye uasherati. 