Original: In 1565, Mary was imprisoned for having married in 1563 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.