Input (grade 10): See the article Old Style and New Style dates for a more detailed explanation of the dating issues and conventions.
Output (grade 8): When Queen Anne came to throne in 1702, however, Marlborough secured his fame and lots of money.