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