What book was the musical Hamilton based on?

Hamilton, the musical was based on the 2004 book Alexander Hamilton by Ron Chernow.