Task: Question Generation
Input (English): On July 5, 1779, 2,600 loyalists and British regulars under General William Tryon, governor of New York, landed in New Haven Harbor and raided the 3,500-person town. A militia of Yale students had been prepping for battle, and former Yale president and Yale Divinity School professor Naphtali Daggett rode out to confront the Redcoats. Yale president Ezra Stiles recounted in his diary that while he moved furniture in anticipation of battle, he still couldn't quite believe the revolution had begun. New Haven was not torched as the invaders did with Danbury in 1777, or Fairfield and Norwalk a week after the New Haven raid, so many of the town's colonial features were preserved.
Output (English): Who was the president of Yale at the time of the attack?