You're likely thinking of Inglourious Basterds (2009), directed by Quentin Tarantino. Brad Pitt stars as Lt. Aldo Raine, leading a squad of Jewish-American soldiers ("The Basterds") who hunt Nazis in occupied France. It's an alternate-history revenge fantasy, not a strict historical drama.