A flanking maneuver works best when an enemy is engaged at their front. Often an opposing force must be maneuvered into a position where a flanking attack would work. An ideal situation is getting them into a position where their front is narrow and the flanks are long. A classic example of a flanking maneuver was by Confederate general Stonewall Jackson against the Union Army of the Potomac at the Battle of Chancellorsville.