In military tactics, a flanking maneuver, or flanking manoeuvre is a movement of an armed force around a flank to achieve an advantageous position over an enemy. Flanking is useful because a force's offensive power is concentrated in its front. Therefore, to circumvent a force's front and attack a flank is to concentrate offense in the area where the enemy is least able to concentrate defense. In military tactics, a flanking maneuver, or flanking manoeuvre is a movement of an armed force around a flank to achieve an advantageous position over an enemy. Flanking is useful because a force's offensive power is concentrated in its front. Therefore, to circumvent a force's front and attack a flank is to concentrate offense in the area where the enemy is least able to concentrate defense. Flanking can also occur at the operational and strategic levels of warfare. The flanking maneuver is a basic military tactic, with several variations. Flanking an enemy means attacking from one or more sides, at an angle to the enemy's direction of engagement. One type is employed in an ambush, where a unit performs a surprise attack from a concealed position. Units friendly to the ambushing unit may be hidden to the sides of the ambush site to surround the enemy, but care must be taken in setting up fields of fire to avoid friendly fire. Another type is used in the attack, where a unit encounters an enemy defensive position. Upon receiving fire from the enemy, the unit commander may decide to order a flank attack. A part of the attacking unit 'fixes' the enemy with suppressive fire, preventing them from returning fire, retreating or changing position to meet the flank attack. The flanking force then advances to the enemy flank and attacks them at close range. Coordination to avoid friendly fire is also important in this situation. The most effective form of flanking maneuver is the double envelopment, which involves simultaneous flank attacks on both sides of the enemy. A classic example is Hannibal's victory over the Roman armies at the Battle of Cannae. Another example of the double envelopment is Khalid ibn al-Walid's victory over the Persian Empire at the Battle of Walaja. Despite primarily being associated with land warfare, flanking maneuvers have also been used effectively in naval battles. A famous example of this is the Battle of Salamis, where the combined naval forces of the Greek city-states managed to outflank the Persian navy and won a decisive victory. Flanking on land in the pre-modern era was usually achieved with cavalry (and rarely, chariots) due to their speed and maneuverability, while heavily armored infantry was commonly used to fix the enemy, as in the Battle of Pharsalus. Armored vehicles such as tanks replaced cavalry as the main force of flanking maneuvers in the 20th century, as seen in the Battle of France in World War II.