In 1064, an invasion by the Oghuz Turks affected the region.