In the second half of the 2nd millennium BC, it was in the western end of the extension of the still largely obscure Arzawa Kingdom, an offshoot and usually a dependency of the Hittites, who themselves spread their direct rule as far as the coast during their Great Kingdom.