What year was control of Khurasan established