Archbishop Oscar Romero was one of the most prominent and controversial religious figures in Latin America when he was gunned down in 1980 in the early stages of El Salvador's civil war. His legacy has been debated ever since.
But just this week, Pope Francis ruled that Romero was killed "out of hatred for the faith," making him a martyr and setting the stage for his beatification.
Romero's sainthood cause was long obstructed by deep opposition both in Latin America and in the Vatican.
The Catholic Church of El Salvador had long enjoyed the largesse of the conservative oligarchy that rules the country.
But in the 1970s, the clergy embraced the ideas of the Second Vatican Council — social justice and proximity to the poor and the marginalized.
This angered the establishment, which ordered the army to crack down against the faithful.
When he was first named archbishop in 1977, Romero was seen as a conservative. But as he witnessed mounting human rights abuses by the Salvadoran military, he became increasingly outspoken against social and economic injustice.
In his last homily, on March 23, 1980, he called on Salvadoran soldiers and police to stop following orders to kill civilians, and stop the repression.
"The peasants you kill are your own brothers and sisters," preached Romero, "when you hear a man telling you to kill, remember God's words, 'Thou shalt not kill.'"
The next day, a right-wing death squad gunned Romero down while he was celebrating Mass.
The 12-year Salvadoran civil war did not end until 1992, and it claimed at least 75,000 lives.
At that time, says Romero biographer Roberto Morozzo della Rocca, a person could be arrested just for possession of a Bible or a photo of Archbishop Romero.
"The church was seen as a traitor," says della Rocca. "The oligarchy hated a clergy committed to social justice. They even blamed the rise of leftist guerrillas on the Catholic Church."
Romero was accused of being a communist, and a supporter of liberation theology — a popular grass-roots Catholic movement viewed as socialist by the right wing in Latin America.
Even before he was killed, Romero had made enemies within the Catholic hierarchy at home and in Rome, says Archbishop Vincenzo Paglia, chief promoter of Romero's sainthood cause.
"During Romero's time, tons of letters against him arrived in Rome," Paglia adds. "The charges were simple: he's political, he's a follower of liberation theology. And all that strengthened his enemies."
One of his key enemies was the late Colombian Cardinal Alfonso Lopez Trujillo, a staunch conservative and president of the Pontifical Council for the Family, who wielded a great deal of influence during the papacy of John Paul II.
Trujilllo feared that Romero's beatification would be seen as an endorsement for liberation theology.
But Archbishop Paglia dismisses the charges that Romero was a Marxist.
"He was a great preacher, he went around in a car with a loudspeaker, he walked among the people," Paglia says. "This is the church they wanted to silence, this is why Romero is truly a martyr of the church that flowed from the Second Vatican Council."
Romero's cause was blocked for more than two decades. Paglia says it was Pope Benedict XVI, at the end of his papacy, who moved the process along.
But, he adds, it was Pope Francis who ruled that Romero was killed "in hatred of the faith."
"We had to wait for the first Latin American pope to beatify Romero," Paglia says. "There are clear similarities between Pope Francis and Romero, and their vision of a poor church for the poor."
The beatification date has not been set, but it's expected to take place within the year.