After graduating from Harvard in 1776, Tyler briefly served in the Massachusetts militia during the American Revolution, including taking part in John Hancock's Rhode Island expedition.