After visiting the House of the Undying in Qarth, Daenerys traveled to Astapor at the advice of Jorah Mormont. She got an army of Unsullied and used them to free all the slaves. She then traveled to Meereen.