Passage: William convened a Convention Parliament on 22 January 1689 to decide how to handle James's flight. While the Parliament refused to depose him, they declared that James, having fled to France and dropped the Great Seal into the Thames, had effectively abdicated the throne, and that the throne had thereby become vacant. To fill this vacancy, James's daughter Mary was declared queen; she was to rule jointly with her husband William, who would be king. The Parliament of Scotland on 11 April 1689, declared James to have forfeited the throne. The English Parliament passed a Bill of Rights that denounced James for abusing his power. The abuses charged to James included the suspension of the Test Acts, the prosecution of the Seven Bishops for merely petitioning the crown, the establishment of a standing army, and the imposition of cruel punishments. The Bill also declared that henceforth, no Roman Catholic was permitted to ascend the English throne, nor could any English monarch marry a Roman Catholic.

Question: Whose daughter became queen?
James