During the wars with the Arabs in the 7th and 8th centuries, the Anatolic Theme—especially Cappadocia, its easternmost region—was frequently either a target of Arab invasions, or at the forefront of the Byzantine counter-raids into Arab territory, which began after the middle of the 8th century.