Keira Knightley was 17 years old when she filmed the first Pirates of the Caribbean movie, "Pirates of the Caribbean: The Curse of the Black Pearl," which was released in 2003. She was born on March 26, 1985, so she was indeed 17 during the filming of that blockbuster film.