The history of the Székely people (a subgroup of the Hungarians in Romania) can be documented from the 12th century. According to medieval chronicles, the Székelys were descended from the Huns who settled in the Carpathian Basin in the 5th century. This theory was refuted by modern scholars, but no consensus view about the origin of the Székelys exists. They fought in the vanguard of the Hungarian army, implying that they had been a separate ethnic group, but their tongue does not show any trace of a language shift.