Miranda famously got the idea for Hamilton while reading Alexander Chernow's biography of Alexander Hamilton while on holiday.
He debuted the first song — "My Shot" — at the White House Poetry Jam in 2009, hosted by President Obama. Miranda introduced the song, to giggles from the audience, as being about "an embodiment of hip-hop culture: Treasury Secretary Alexander Hamilton."
In 2016, as the Obama administration came to a close, Miranda returned to the White House with the Broadway cast of Hamilton to perform again and bring the show full circle. President Obama also lent his voice to a 2018 remixed version of the musical's song "One Last Time."