 They quickly entered into an alliance with the Lombards to seize the land of the Gepids.However, during this process, the Lombards retreated to Italy, allowing the Avars to take both the lands of the Gepids and the former lands of the Lombards for themselves, creating the Avar Khaganate.The Avars then claimed all former territory of both as their own territory.