In 1517, Pope Leo X issued indulgences for people to buy so he could raise money for the construction of St. Peter's Basilica. This indulgence was highly cirticized by Martin Luther and partially was the reason for the Protestant Reformation.
Pope Leo X wanted to rebuild and beautify the Saint Peter Basilica so that he collected indulgences.
Roman Catholic AnswerThe Church never sold anything to replace penance. There were some abuses connected with indulgences issued for donations to help repair St. Peter's in Rome, in the sixteenth century, and the indulgences replaced penance, but the Church has never offered them for sale, and due to the abuses, indulgences are now never offered for alms.
The practice of indulgences began in the Catholic Church during the Middle Ages, around the 11th century.
they were successful by there church
The Catholic Reformation.
The protestant faith emergenced from the revolt against the Catholic Church in the sixteenth century.
.Catholic AnswerNobody started the Catholic Church in the sixteenth century, it had been doing fine for sixteen centuries since Our Blessed Lord started it in the first century.
Roman Catholic AnswerThe selling of indulgences was an abuse by certain individuals in the sixteenth century. It has been corrected, oh, about four centuries ago, and is forbidden. The second part of this question is similar to "when did you stop beating your wife?": it assumes that the Church doesn't teach history, wherever did you get such an idea?
Protestants
No, however, the church in England was Catholic up until the protestant revolt in the sixteenth century when the Church of England was created.
Indulgences were pardons sold by the Catholic Church to reduce punishment for sins. They played a significant role in the historical context of the Church by contributing to the corruption and wealth of the Church, leading to the Protestant Reformation in the 16th century.
Your question, as asked, doesn't make sense, but I can tell you this. There have always been indulgences issued for the the three penitential practices in which we are told to follow Our Blessed Lord; they are: fasting, prayer, and almsgiving. It was because of almsgiving that the original cry came up in the sixteenth century that the Church was "selling" indulgences. They were not, they were giving indulgences for people who contributed money for various worthwhile causes. That fact that all theses centuries later, people are still asking why the church was selling indulgences just goes to show the ignorance caused by history books written by protestants and seculars who have an ax to grind against the Catholic Church.
.Catholic AnswerThe Lutheran Ecclesial Community did not "break away" from the Catholic Church. It was founded by Martin Luther, a heretic who left the Catholic Church in the sixteenth century and was excommunicated.