<prompt> Translate the following text to SwahiliThey occupied Edinburgh but not the castle and defeated a government army at the Battle of Prestonpans.  <response>: Walichukua Edinburgh lakini si ngome na kushindwa jeshi la serikali katika vita ya Prestonpans. 