William and Mary , both Protestants , became king and queen regnant , respectively , following the Glorious Revolution , which resulted in the deposition of her Roman Catholic father , James II and VII .
She became queen after the Glorious Revolution , which resulted in the deposition of her Roman Catholic father , James II and VII .