<prompt> Translate the following text to SwahiliSobieski was elected king of Poland, but his attentions to battles against the Turks at the expense of domestic affairs did not bode well for him and Poland.  <response>: Sobieski alichaguliwa kuwa mfalme wa Poland, lakini tahadhari yake ya mapigano dhidi ya Waturuki kwa gharama ya mambo ya ndani haikuwa nzuri kwake na Poland. 