Queen Mary and her husband William III were jointly crowned in 1688 .
Defoe became one of William III 's close allies and a secret agent .
Queen Mary and her husband William III were jointly crowned in 1688 , and Defoe became one of William 's close allies and a secret agent .