Prince Charles Edward Louis Philip Casimir Stuart ( 31 December 1720 - 31 January 1788 ) commonly known as Bonnie Prince Charlie or The Young Pretender was the Jacobite pretender to the thrones of England , Scotland , and Ireland . Prince Charles Edward Louis Philip Casimir Stuart ( 31 December 1720 â `` 31 January 1788 ) commonly known as Bonnie Prince Charlie or The Young Pretender was the second Jacobite claimaint to the thrones of England , Scotland , and Ireland .