Knightley began acting as a child on television and made her feature film debut in 1995, before making her breakthrough with the 2002 film Bend It Like Beckham. She began playing Elizabeth Swann in 2003 in the Pirates of the Caribbean film series, which led to global fame, and she received a nomination for the Academy Award for Best Actress for starring as Elizabeth Bennet in Pride & Prejudice (2005). She subsequently became known for starring in several other period dramas, including Atonement (2007), The Duchess (2008), A Dangerous Method (2011), Anna Karenina (2012), and Colette (2018). She also received a nomination for the Academy Award for Best Supporting Actress for portraying Joan Clarke in the historical drama The Imitation Game (2014). Her contemporary film roles were in the romantic comedy Begin Again (2013), the action thriller Jack Ryan: Shadow Recruit (2014), and the adventure film Everest (2015).