Passage: In England, the Earl of Shaftesbury, a former government minister and now a leading opponent of Catholicism, attempted to have James excluded from the line of succession. Some members of Parliament even proposed that the crown go to Charles's illegitimate son, James Scott, 1st Duke of Monmouth. In 1679, with the Exclusion Bill in danger of passing, Charles II dissolved Parliament. Two further Parliaments were elected in 1680 and 1681, but were dissolved for the same reason. The Exclusion Crisis contributed to the development of the English two-party system:  the Whigs were those who supported the Bill, while the Tories were those who opposed it.  Ultimately, the succession was not altered, but James was convinced to withdraw from all policy-making bodies and to accept a lesser role in his brother's government.On the orders of the King, James left England for Brussels. In 1680, he was appointed Lord High Commissioner of Scotland and took up residence at the Palace of Holyroodhouse in Edinburgh to suppress an uprising and oversee royal government. James returned to England for a time when Charles was stricken ill and appeared to be near death. The hysteria of the accusations eventually faded, but James's relations with many in the English Parliament, including the Earl of Danby, a former ally, were forever strained and a solid segment turned against him.

Question: What political situation brought about the formation of a two party system in England?
The Exclusion Crisis