Mary was a Protestant . She became queen after the Glorious Revolution , which resulted in the deposition of her Roman Catholic father , James II and VII . Mary , a Protestant , came to the thrones following the Glorious Revolution , which resulted in the deposition of her Roman Catholic father , James II and VII .