Hardy played a Royal Air Force fighter pilot in Christopher Nolan's action-thriller "Dunkirk" (2017), based on the British military evacuation of the French port of Dunkirk in 1940 during the Second World War. He appeared alongside Mark Rylance, Kenneth Branagh, Cillian Murphy and Harry Styles. Hardy also co-produced and starred in the eight-part BBC One television drama series "Taboo". It was created by Hardy, Steven Knight, and Hardy's father, Edward "Chips" Hardy. "Taboo" was aired in the United States by FX.