WASHINGTON — An 18th-century missionary who brought Catholicism to the American West Coast was elevated to sainthood Wednesday by Pope Francis in the first canonization on U.S. soil.

Francis canonized Junipero Serra during a Mass outside the Basilica of the National Shrine of the Immaculate Conception, the largest Catholic church in North America.

Serra was a Franciscan friar who marched north from Baja California with conquistadors from his native Spain, establishing nine of the 21 missions in what is now California. The pope announced in January that Serra would be canonized.

Msgr. David Brockman of Raleigh was in the second row of the Mass, which drew tens of thousands of people. It marked his third papal Mass, and he said each has given him a close look at Francis' humility.

"Just the manner of his life, I think, is going to be, just to see him and be close to him and celebrate the Mass with him, that's something that is very, very rare. that doesn't occur very often in the church," Brockman said.

Serra's sainthood has been polarizing. He is revered by Catholics for his missionary work, but many Native Americans in California say he enslaved converts and contributed to the spread of disease that wiped out indigenous populations.

In his homily, Francis defended Serra, characterizing him as a kind and open-hearted man who protected Native Americans from colonizers.

"He was excited about blazing trails, going forth to meet many people, learning and valuing their particular customs and ways of life," Francis said. "Junipero sought to defend the dignity of the native community, to protect it from those who had mistreated and abused it. Mistreatment and wrongs which today still trouble us, especially because of the hurt which they cause in the lives of many people."

During a visit to South America in July, Francis offered a broad apology for the sins, offenses and crimes committed by the church against indigenous peoples.

Many Latinos in the U.S. view the canonization of a Spanish-speaking missionary as a badly needed acknowledgment of the Hispanic history of the American church, and as an affirmation of Latinos as a core part of the U.S. Catholic future. Latinos make up about 38 percent of U.S. Catholics, but are well above the majority in several dioceses. The Archdiocese of Los Angeles, the largest U.S. diocese, is about 70 percent Latino.

The pope's apology did little to quiet those who oppose the canonization. Serra's critics say he was carrying out a Vatican policy by treating indigenous people as inferior.

Francis spoke in his native Spanish, and Latino Catholics from California were among the 25,000 people who got tickets to the outdoor Mass. Vice President Joe Biden also sat in the congregation. Before the Mass, the pope entered the basilica to raucous cheers and applause from more than 2,000 men and women studying to become priests and nuns.

Joe Moyhanan, 28, of Portsmouth, N.H., who is studying for the priesthood at St. John's Seminary in Boston, said bearing witness to the first canonization on U.S. soil was inspiring and showed what could be accomplished during a life devoted to Christ.

"God wants all of us to be saints," Moyhanan said. "It's attainable."

Hundreds of faithful gathered at the historic mission in Carmel-by-the-Sea, Calif., where Serra is buried, to watch the Mass on a giant TV screen and pray. At the same time, about a dozen Native Americans gathered in a small, aging mission cemetery inside the grounds to worship their ancestors in a silent protest of the canonization.

Louise Miranda Ramirez, Tribal Chairwoman from the Esselen Nation, said her ancestors were abused by the Franciscan missionaries and trapped in the mission system.

"These are my ancestors that were whipped. These are my ancestors that were killed, that were hung and they're our tribal people," she said. "Once they had baptized them, they could not leave this ground."

Earlier Wednesday, Francis held a special prayer service for more than 300 U.S. bishops at St. Matthew's Cathedral in Washington. He praised them for the courage they've needed to come to terms with the new direction of social-justice the church has taken, and he called on the church in America to be more accepting of immigrants.

After that service, Bishop Michael Burbidge of the Diocese of Raleigh got a moment to speak with the pope, and he tweeted a photo of the meeting with the message, "Told Pope Francis all in Raleigh love him and are praying for him."