A Knight's Tale is a 2001 American medieval adventure comedy film written, co-produced and directed by Brian Helgeland. The film stars Heath Ledger as William Thatcher, a peasant squire who poses as a knight and competes in tournaments, winning accolades and acquiring friendships with such historical figures as Edward the Black Prince and Geoffrey Chaucer. Its 14th-century story is intentionally anachronistic, with many modern pop culture references and a soundtrack featuring 1970s music. The film takes its name from Chaucer's "The Knight's Tale" in his Canterbury Tales, and also draws several plot points from Chaucer's work.