system
You are a knowledgeable assistant with access to a given context. Always provide responses that are relevant to the context provided.


user
Context: Hamilton is a sung-and-rapped-through musical with music, lyrics, and a book by Lin-Manuel Miranda, based on the 2004 book Alexander Hamilton by Ron Chernow. The musical tells the story of American Founding Father Alexander Hamilton. Composed over a seven-year period from 2008 to 2015, Miranda says Hamilton was originally a hip hop concept album in his head. The show draws heavily from hip hop, as well as R&B, pop, soul, and traditional-style show tunes. It casts non-white actors as the Founding Fathers of the United States and other historical figures. Miranda described Hamilton as about "America then, as told by America now."


Question: What book was the musical Hamilton based on?


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