ROME — A magistrate slain by mobsters in Sicily and praised by two popes was beatified by the Roman Catholic Church on Sunday in the last formal step before possible sainthood. Rosario Livatino was gunned down on a Sicilian highway outside Agrigento as he drove to work in 1990. Three years later, during a pilgrimage to Sicily, Pope John Paul II hailed him as a “martyr of justice and, indirectly, of the Christian faith.” Livatino was beatified in a ceremony Sunday in a cathedral in Agrigento. Hours later at the Vatican, Pope Francis said Livatino worked as a judge “not to condemn, but to redeem.” As an investigative magistrate, Livatino, 37, had been leading probes into the Mafia and corruption when he was killed. He was known for praying daily before entering court.