The Last Valley (1970)
The Last Valley is a 1970 historical drama film directed by James Clavell. Set during the Thirty Years War, it stars Michael Caine as the leader of a band of mercenaries, and Omar Sharif as a teacher fleeing from the violence endemic to Germany during this period. They manage to find one valley, untouched by war, in which they live in peace, at least for a time. It was based on the novel of the same name by J.B. Pick.
More at Wikipedia.