ROME — Pope Francis has cleared the way for Archbishop Oscar Romero, an advocate for the poor who was slain in 1980 by right-wing death squads in El Salvador, to become a saint, the Vatican announced this week.

The Vatican said that Francis considered Romero a model for the Roman Catholic Church and had approved a miracle attributed to the archbishop – a requisite for canonization.

It said Francis had also approved a miracle for Pope Paul VI, which means he, too, can be elevated to sainthood.

The news comes after years of efforts by church conservatives to block Romero’s canonization because they opposed his leftist political views.

It was celebrated in El Salvador, where the gulf between the rich and the poor remains as wide as ever, and where Romero’s unflinching advocacy for the downtrodden still resonates with the masses.

Cardinal Gregorio Rosa Chavez, a close associate of Romero, called the news “a gift for the country and a promise that we can find a way out of so much violence, out of so much suffering.”

President Salvador Sanchez Ceren tweeted that Francis’ decision “fills us with immense joy.”

Many people in El Salvador already consider Romero a saint. About 250,000 Salvadorans turned out for his beatification ceremonies in 2015, with some donning T-shirts declaring him “Saint Romero.”

Born in a rural corner of El Salvador, the priest began his career in the church as a relative conservative.

But years of seeing how El Salvador’s poor were mistreated by a handful of rich oligarchs turned him against the elite.

He was killed – with a bullet through the heart while saying Mass in a hospital chapel in 1980 – just as El Salvador’s civil war was heating up, pitting leftist rebels against a right-wing military dictatorship backed by the United States.

Romero, who spoke out against the military’s harsh tactics in his homilies and radio broadcasts, angered the military by writing to President Carter to ask that the U.S. stop military aid to El Salvador.

Shortly before his death, Romero delivered a sermon begging army soldiers to not obey orders to kill civilians.

At his funeral, the army opened fire, killing dozens of mourners. That incident and his death were seen as key events at the start of the 12-year civil war, in which 75,000 people were killed and thousands disappeared.

Conservatives within the church long blocked efforts to name Romero a saint, arguing he was slain for his politics, not his religion. They disliked Romero’s embrace of liberation theology, a church movement that argued that while clergy should care for the poor, they should also push for political changes to end poverty, with some priests even supporting armed struggles.