Officers who served under him during the War rose to high positions in the British army and navy. Emulating Cornwallis's deep sense of duty to king and country, they vigorously pursued the conquest of India, put down the 1798 Irish Rebellion, defended Canada, defeated the Dutch at the Cape of Good Hope, occupied Ceylon and battled Napoleon. Prominent among them was General Sir James Henry Craig, governor of Canada, whose clumsy attempt to spy on the U.S. was a factor in setting off the War of 1812.