Flanking maneuvers is when an army tries to attack their enemy from the side or from behind. An example of this is when the Romans used a flanking maneuver to defeat Hannibal and end the second Punic War. The Roman army surrounded Hannibal's forces, preventing them from escaping and forcing them to fight in a battle known as the Battle of Zama. The battle was won by the Romans, thanks in part to their strategy of attacking from the sides. Another example is the Battle of Gettysburg during the American Civil War. Union forces were able to encircle the Confederates, attacking them from the sides and behind. This eventually led to the Confederate forces retreating and the Union victory. Flanking maneuvers have been used in many other battles throughout history.