Master and Commander: The Far Side of the World is a 2003 American epic period war-drama film co-written, produced and directed by Peter Weir, set during the Napoleonic Wars.