<prompt> Translate the following text to SwahiliJames was defeated by William of Orange just north of Dublin at the Battle of the Boyne in 1690; the defeated army straggled into Dublin, and James II fled to France.  <response>: William wa Orange alishindwa na William wa Orange kaskazini mwa Dublin katika vita vya Boyne mnamo 1690, na jeshi la James II likakimbilia Ufaransa. 