Mary gave money to the College of William and Mary ( in the present day Williamsburg , Virginia ) in 1693 . She also began the Royal Hospital for Seamen , Greenwich . Mary endowed the College of William and Mary ( in the present day Williamsburg , Virginia ) in 1693 , supported Thomas Bray , who founded the Society for Promoting Christian Knowledge , and was instrumental in the foundation of the Royal Hospital for Seamen , Greenwich , after the Anglo-Dutch victory at the Battle of La Hogue .