The German reaction was rapid, and initially successful. A counterattack, code-named Operation Doppelkopf, was conducted on 16 August by XXXX and XXXIX Panzer Corps under the command of Third Panzer Army, Army Group Centre. Acting in coordination with armored formations from Army Group North, they initially cut off the Soviet troops on the coast, and re-established a tenuous 30-kilometer-wide corridor connecting Army Groups Centre and North. The main objective of the attack was to retake the key road junction of Šiauliai (), but the German tanks ran head-on into an in-depth defense by the 1st Baltic Front, and by 20 August the German advance had stalled with heavy losses. A follow-on attack, code-named Operation Cäsar, and launched on 16 September, failed in the same manner. After a brief period of respite, STAVKA issued orders for the Baltic strategic offensive, which lasted from 14 September-24 November.