Charles II and James II were both Catholic, but James was very open about it. Many English Protestants feared that he would bring back the Roman Catholic Church.
Parliament leaders invited Protestants Mary and William III to become rulers of England. They landed with their army and James II fled to France. Mary and William took the throne and this event was known as the Glorious Revolution.
Before they were crowned, they accepted the English Bill Of Rights. The Bill of Rights gave Parliament more power than the monarchs. This Bill of Rights influenced democracy because of its principles; trial by jury, abolished excessive fines, and cruel or unjust punishment.