From this paragraph, tell me when Mary died and when did Elizabeth had Mary, Queen of Scots imprisoned. Also, who supported plots to have Elizabeth overthrown?

Context: Mary's death in 1558 led to her half-sister Elizabeth taking the throne. Unlike Mary, Elizabeth was firmly in the reformist camp and quickly reimplemented many of Edward's reforms. Philip, no longer co-monarch, deemed Elizabeth a heretic and illegitimate ruler of England. In the eyes of the Catholic Church, Henry had never officially divorced Catherine, making Elizabeth illegitimate. It is alleged that Philip supported plots to have Elizabeth overthrown in favour of her Catholic cousin and heir presumptive, Mary, Queen of Scots. These plans were thwarted when Elizabeth had Mary imprisoned in 1567. Mary was forced to abdicate the crown of Scotland in favour of her son James VI. The first documented suggestion of what was called the Enterprise of England was in the summer of 1583 when, flushed with pride of his victory in the Azores, Álvaro de Bazán, Marquis of Santa Cruz addressed the suggestion to Philip II of taking advantage of it to attack England.

Answer: Mary (Bloody Mary) died in 1558 and Elizabeth had Mary (Queen of Scots) imprisoned in 1567. Philip Supported plots to have Elizabeth overthrown in favor of her catholic cousin,  who he thought was the true heir: Mary, Queen of Scots.