They occupied Edinburgh (but not the castle) and defeated a government army at the Battle of Prestonpans.
There were a lot of casualties during the Battle of Prestonpans. 
mnli hypothesis: There were a lot of casualties during the Battle of Prestonpans.  premise: They occupied Edinburgh (but not the castle) and defeated a government army at the Battle of Prestonpans.