Original: Mary was under house arrest at that time , having been imprisoned in 1565 for marrying royal gatekeeper Thomas Keyes without the permission of Queen Elizabeth .
Simplified: She married the royal gatekeeper Thomas Keyes in 1565 but this was without Queen Elizabeth 's permission .