SARAJEVO, Bosnia-Herzegovina — Coming to a country whose national anthem has no lyrics because its bickering ethnic groups cannot agree on them, Pope Francis on Saturday called for greater religious reconciliation and an end to the sectarian conflicts that still threaten Bosnia and proliferate around the world in “a kind of third world war being fought piecemeal.”

Some in Bosnia and around the world continue to foment “conflict between different cultures and societies” for their own political purposes, others to make profits on arms sales, he said. They ignore the human price paid in lives lost, refugees uprooted and property destroyed.

“You know this well, having experienced it here: how much suffering, how much destruction, how much pain,” Francis said. “The cry of God’s people goes up once again from this city, the cry of all men and women of good will: War never again!”

The pope praised the progress Bosnia has made since the bloody ethnic conflict of the 1990s, and especially since Pope John Paul II’s visit in 1997, when religious tensions were still high.

“We should not become complacent with what has been achieved so far,” Francis said, “but rather seek to make further efforts towards reinforcing trust and creating opportunities for growth in mutual knowledge and respect.”

In a whirlwind, half-day visit — the eighth foreign trip of his papacy and the second this year — the 78-year-old pontiff spoke to 65,000 ecstatic followers during an outdoor Mass in the stadium where Sarajevo hosted the 1984 Winter Olympics.

He met with Bosnia’s three presidents, one from each of the country’s official minorities — Serbian Christian Orthodox, Croatian Catholic, and Muslim — who trade off head-of-state duties every eight months. He also held sessions with religious leaders and a multiethnic gathering of students.

“This city, which in the recent past sadly became a symbol of war and destruction, today, with its variety of peoples, cultures and religions, can become again a sign of unity,” the pope said at the gathering of religious leaders. “In a world unfortunately rent by conflicts, this land can become a message, attesting that it is possible to live together side by side.”

Progress has been made in reconciling the country’s religious and ethnic groups, said President Mladen Ivanic, the current chairman of the three-president council, in an interview.

“There are, at the moment, no major disputes between the religions,” Ivanic said. “I don’t want to say it’s paradise. The truth is we are still a divided society.”

A Council of Interreligious Dialogue, formed to bring together the country’s disparate clerics, is working well, he said.

“Yes, the council is working,” said the papal nuncio, Archbishop Luigi Pezzuto, the Vatican’s ambassador to Bosnia. “Now, what is needed is to translate this capacity for dialogue to all people. We need people to understand that religion is not a reason for friction. It is an instrument to resolve friction.”

The ethnic conflict of the 1990s, in which 100,000 people died and Sarajevo was under siege, ended with the Dayton accords, negotiated in 1995 in Ohio. Under the agreement, Bosnia-Herzegovina has a central government, but the country was subdivided — temporarily, it was hoped — into a Serb-dominated region and another mixing areas dominated by Muslims and Croats.

Two decades later, it remains divided.

“The Dayton agreement was meant to be temporary, but there is no movement to replace it,” said Zlatko Dizdarevic, who was Bosnia’s ambassador to Croatia, Jordan, Iraq, Syria and Lebanon. “Instead, the common interest of political leaders is maintaining their own position.”

While political progress stalls, he said, the economy staggers under a 50 percent unemployment rate, with 60 percent of workers depending on the government for their wages.

“At the top level, where we have this council, it is excellent,” said Valentin Inzko, an Austrian diplomat who is the high representative for Bosnia-Herzegovina, responsible for overseeing the task of carrying out the Dayton accords. “It is also excellent at the bottom, the neighbor-to-neighbor level. It is in the middle you still have some dissonance, at the political level and at the level of lower clergy.”

Cardinal Vinko Puljic, archbishop of the diocese that includes Sarajevo, agreed that those political leaders who continued to emphasize religious differences and press ethnic nationalism were the chief obstacles to Bosnian progress.

“What is needed here is to create a normal state, but the problem is at the political level,” he said. “The country is divided. Ethnic groups have separate schools, separate territories, even separate histories. There are not equal rights for everyone. We have criminal activities and corruption.”

In such a climate, all the pope can do is urge the process forward, Puljic said.

“It is clear the pope has no magic stick,” he said.

Slobodan Soja, a historian who was Bosnia’s ambassador to France and Egypt, said the pope’s message of economic fairness and religious peace had a special resonance for Bosnians who were haunted by the horrible conflicts of the past century.

“He speaks in a way that really reaches the common people,” Soja said. “Of course, his visit will change nothing. Once he leaves, our political leaders will continue to speak about nationalism and religion.”

Sarajevo’s streets were nearly cleared of regular traffic Saturday as a stream of hundreds of buses poured in from across the region, disgorging tens of thousands of people. What had once been known as Sniper Alley, a riverside road that separated Serbian and Muslim forces during the conflict, was suddenly a winding line of buses cooling in the shade of bird-filled trees.

Vendors sold bottled water, papal T-shirts, and other souvenirs. Sidewalks were choked with worshippers waving flags and marching as much as 2 miles to get to the crowded stadium where, under a blazing sun, Francis did his best to encourage reconciliation.

Laura Nenavic, 17, had waited patiently in the shade for the pope’s arrival. She and her classmates, wearing matching yellow T-shirts bearing the pope’s smiling face, traveled nearly two hours by bus from Bugojno for the visit.

“I hope there will be reconciliation in this country, but honestly, I do not think so,” she said. “It is very hard to believe in such a thing when you live in this country.”

Not far away, Franko Markovic, 25, who is to be ordained a priest next month, led a group of students from neighboring Croatia. Their matching T-shirts were bright green.

“People are frightened ; they are worried about conflict,” he said. “The pope is correct that we need dialogue for there to be peace. But it does not mean that we change our doctrine, just that we talk and we try to understand one another.”