Evidently Ezra had made an application and a proposal to the emperor of the Medo-Persian Empire, that he would now lead a party to go back to Jerusalem with further returnees, and hasten all the work that needed to be done there. He was known at court; you get hints of this through the book.