U-571 is a 2000 submarine film directed by Jonathan Mostow from a screenplay he co-wrote with Sam Montgomery and David Ayer. The film stars Matthew McConaughey, Harvey Keitel, Bill Paxton, Jon Bon Jovi, Jake Weber and Matthew Settle. The film, telling the story of a World War II German submarine boarded by American submariners to capture her Enigma cipher machine, does not represent any real events.