<prompt> Translate the following text to SwahiliHe had been an audacious cavalry officer in the Anglo-Burmese wars and now exploited the situation for his own benefit.  <response>: Alikuwa amekuwa ofisa mwenye ujasiri wa wapanda farasi katika vita vya Uingereza na Burma na sasa alitumia hali hiyo kwa faida yake mwenyewe. 