In consequence, Luther hoped to stop the sale of indulgences and to reform the Church from within. In 1521, he was given the chance to recant at the Diet of Worms before Charles V, Holy Roman Emperor. After he refused to recant, he was declared heretic. Partly for his own protection, he was sequestered on the Wartburg in the possessions of Frederick III, Elector of Saxony, where he translated the New Testament into German. He was excommunicated by Papal Bull in 1521.