I'm looking for a western movie. I just remember a few scenes. I saw this movie long time ago maybe in the mid 80s. I just remember a group of outlaws or cowboys fighting with different enemies. Including indians, sort of confederate or union soldiers, foreign army. I don’t know if they are looking for something or escaping from somewhere but in each battle scene was with different enemies. I believe they were soldiers from the civil war and become outlaws and the government and everyone go behind them. Was a kind of epic history? I'm pretty sure at the end they fought with the large army with soldiers and tanks.