Answer
Mary II was second in the line of succession after Charles II because she was the elder daughter of James II and Anne Hyde. She was born in 1662 and became queen in 1689 when her father was deposed. Mary II ruled jointly with her husband, William III, who was the Prince of Orange. They were both Protestant and were opposed to the Catholic James II.