Background: Saint Thomas Aquinas  (; Italian: Tommaso d'Aquino, lit. 'Thomas of Aquino'; 1225 - 7 March 1274) was an Italian Dominican friar, Catholic priest, and Doctor of the Church. He was an immensely influential philosopher, theologian, and jurist in the tradition of scholasticism, within which he is also known as the Doctor Angelicus and the Doctor Communis.
Context: Thomas was most probably born in the castle of Roccasecca, located in Aquino, old county of the Kingdom of Sicily (present-day Lazio region, Italy), c. 1225, According to some authors, he was born in the castle of his father, Landulf of Aquino. Though he did not belong to the most powerful branch of the family, Landulf of Aquino was a man of means. As a knight in the service of King Roger II, he held the title miles. Thomas's mother, Theodora, belonged to the Rossi branch of the Neapolitan Caracciolo family. Landulf's brother Sinibald was abbot of the first Benedictine monastery at Monte Cassino. While the rest of the family's sons pursued military careers, the family intended for Thomas to follow his uncle into the abbacy; this would have been a normal career path for a younger son of southern Italian nobility. At the age of five Thomas began his early education at Monte Cassino but after the military conflict between the Emperor Frederick II and Pope Gregory IX spilled into the abbey in early 1239, Landulf and Theodora had Thomas enrolled at the studium generale (university) recently established by Frederick in Naples. It was here that Thomas was probably introduced to Aristotle, Averroes and Maimonides, all of whom would influence his theological philosophy. It was also during his study at Naples that Thomas came under the influence of John of St. Julian, a Dominican preacher in Naples, who was part of the active effort by the Dominican order to recruit devout followers. There his teacher in arithmetic, geometry, astronomy, and music was Petrus de Ibernia. At the age of nineteen Thomas resolved to join the recently founded Dominican Order. Thomas's change of heart did not please his family. In an attempt to prevent Theodora's interference in Thomas's choice, the Dominicans arranged to move Thomas to Rome, and from Rome, to Paris. However, while on his journey to Rome, per Theodora's instructions, his brothers seized him as he was drinking from a spring and took him back to his parents at the castle of Monte San Giovanni Campano. Thomas was held prisoner for almost one year in the family castles at Monte San Giovanni and Roccasecca in an attempt to prevent him from assuming the Dominican habit and to push him into renouncing his new aspiration. Political concerns prevented the Pope from ordering Thomas's release, which had the effect of extending Thomas's detention. Thomas passed this time of trial tutoring his sisters and communicating with members of the Dominican Order. Family members became desperate to dissuade Thomas, who remained determined to join the Dominicans. At one point, two of his brothers resorted to the measure of hiring a prostitute to seduce him. According to legend, Thomas drove her away wielding a fire iron. That night two angels appeared to him as he slept and strengthened his determination to remain celibate. By 1244, seeing that all of her attempts to dissuade Thomas had failed, Theodora sought to save the family's dignity, arranging for Thomas to escape at night through his window. In her mind, a secret escape from detention was less damaging than an open surrender to the Dominicans. Thomas was sent first to Naples and then to Rome to meet Johannes von Wildeshausen, the Master General of the Dominican Order. CANNOTANSWER
Question: what did john do for him?. Whats the answer?

the Dominicans arranged to move Thomas to Rome, and from Rome, to Paris.