▁ ▁Michael ▁C . ▁G w yn ne ▁as ▁Mo och ▁ ▁D erm ot ▁Mul r oney ▁as ▁Michael ▁Al per in ▁ ▁Jeff rey ▁B ri ar ▁as ▁Stan ▁La ure l ▁ ▁Be vis ▁Fa ver sh am ▁as ▁Oliver ▁Hard y ▁▁ ▁John ▁F ount ain ▁as ▁John ▁Gilbert ▁ ▁Peter ▁Jason ▁as ▁Frank ▁Co e ▁ ▁Historical ▁context ▁Although ▁largely ▁fict it ious , ▁the ▁story ▁does ▁contain ▁elements ▁of ▁historical ▁fact . ▁Sun set ▁dep ict s ▁Wy att ▁Ear p ▁as ▁a ▁technical ▁ad visor ▁to ▁a ▁fict ional ▁Tom ▁Mix ▁film ▁of ▁the ▁Gun f ight ▁at ▁the ▁OK ▁Cor ral ▁in ▁which ▁Mix ▁port ray s ▁the ▁famous ▁western ▁mar shal . ▁Ear p ▁had ▁been ▁living ▁in ▁the ▁Los ▁Angeles ▁area ▁since ▁about ▁ 1 9 1 0 . ▁He ▁had ▁served ▁as ▁an ▁un pa id ▁technical ▁advis er ▁on ▁some ▁early ▁silent ▁western s ▁from ▁ 1 9 1 5 ▁on ▁and ▁knew ▁western ▁stars ▁William ▁S . ▁Hart ▁and ▁Mix . ▁ ▁When ▁he ▁died ▁on ▁January ▁ 1 3 , ▁ 1 9 2 9 , ▁at ▁the ▁age ▁of ▁ 8 0 , ▁Ear p ' s ▁fun eral ▁featured ▁both ▁Hart ▁and ▁Mix ▁as ▁p all b ear ers . ▁ ▁Both ▁Mix ' s ▁and ▁Ear p ' s ▁personas ▁are ▁part ▁of ▁the ▁plot ▁in ▁Sun set , ▁with ▁each ▁figure ▁altern ately ▁explo iting ▁and ▁def l ating ▁their ▁public ▁images . ▁While ▁Ear