About 620 the Emperor Heraclius succeeded in concluding a temporary peace with the Avars and concentrating his forces exclusively on the struggle with Persia. In 622, during the first great offensive, the tactical and military maturity of the Eastern Roman army was demonstrated for the first time. However, Heraclius still could not use the strategic initiative enough in this period. The complicated relations with the Khagantae forced the Emperor to return to Constantinople and begin negotiations for a new peace treaty. The planned meeting with the Khagan of the Avars almost ended in a personal catastrophe for the Emperor. Regardless of this incident, both sides had an interest in concluding peace. While the Romans needed to continue the war with Persia, the Avars had to devote attention to stabilizing the situation in the Khaganate after the outbreak of Samo’s revolt. The agreement reached at the turn of the years 623/624 lasted until the Avar siege of Constantinople in 626.