Northern England was a focal point for fighting during the Wars of the Three Kingdoms. The border counties were invaded by Scotland in the Second Bishops' War, and at the 1640 Treaty of Ripon King Charles I was forced to temporarily cede Northumberland and County Durham to the Scots and pay to keep the Scottish armies there. To raise enough funds and ratify the final peace treaty, Charles had to call what became the Long Parliament, beginning the process that led to the First English Civil War. In 1641, the Long Parliament abolished the Council of the North for perceived abuses during the Personal Rule period. By the time war broke out in 1642, King Charles had moved his court to York, and Northern England was to become a major base of the Royalist forces until they were routed at the Battle of Marston Moor.