A man and his young daughter who drowned trying to cross into Texas were buried Monday, a week after a heartbreaking image of their bodies floating in the Rio Grande circled the globe.

About 200 relatives and friends followed a hearse bearing the bodies of Oscar Martinez Ramirez and his 23-month-old daughter Valeria inside La Bermeja municipal cemetery in southern San Salvador. The ceremony was private, and journalists were not allowed access.

Many mourners wore black and wept. They carried flowers and green palms, and some held signs bearing the logo of the Alianza soccer team favoured by Oscar Martinez, who belonged to a group that supports the club.

“For those who cheer you on from heaven,” one sign read.

“I knew them. They are good people, and I can’t believe they died this way,” said Berta Padilla, who arrived earlier along with about 30 others on a bus from Altavista, El Salvador, the working-class city the Martinezes called home before they left in early April, headed for the United States.

“We came from Altavista to be with Oscar’s family,” Padilla added. “We are with them in their pain.”

Journalists take pictures and video of the graves at La Bermeja cemetery. (Alex Pena/Getty Images)

Tania Vanessa Avalos, the wife and mother, returned to El Salvador on Friday ahead of their remains.

A municipal police officer said their graves were in a section of the cemetery named after St. Oscar Romero, the San Salvador archbishop who devoted himself to helping the poor and was assassinated in 1980. Romero, who was canonized last year, is buried in the crypt of the city’s cathedral.

After the burial, relatives stayed at the grave to say goodbye, said family friend Reyna Moran.

They went in search of a better future, but everything came to an end in the river.— Reyna Moran, family friend of Oscar Martinez

“This is very painful, most of all because of the baby,” Moran said. “They went in search of a better future, but everything came to an end in the river.”

A collection of floral arrangements adorned the grave, including one from El Salvador’s president and first lady. Interior Minister Mario Duran was among those who attended.

Drownings spark global outcry

The photographs of Martinez, 25, and Valeria, lying face down along the riverbank, the tiny girl tucked inside his black shirt and her arm draped over his neck, prompted a global outpouring of emotion. They underscored the perils faced by migrants and asylum seekers trying to reach the United States.

“We are dismayed, shocked, everyone is in pain,” said Altavista Mayor Victor Manuel Rivera. “This family has lost an angel of just under two years, and seeing that heartbreaking image, the photo, is shocking.”

This photograph, first published in the Mexican newspaper La Jornada, shows the bodies of Oscar Martinez and his nearly two-year-old daughter Valeria on the bank of the Rio Grande in Matamoros, Mexico. It sparked a global outpouring of emotion and showed the dangers migrants face trying to reach the U.S. from Central America. (Julia Le Duc/The Associated Press)

President Nayib Bukele said late Sunday that the drownings were “a great tragedy” and that there’s blame to be shared among governments.

U.S. policies designed to deter Central Americans and others from heading north have stalled thousands on the Mexico side of the border as they wait to request asylum in the United States. Meanwhile, Mexico is stepping up immigration enforcement under intense pressure from U.S. President Donald Trump’s administration.

Bukele, who took office a month ago, said his own country shares responsibility.

“We can speak blame to any other country, but what about our blame?” Bukele said in lengthy remarks, much of them delivered in English. “I mean, what country did they flee? Did they [flee] the United States? They fled El Salvador. They fled our country. It is our fault.”

He said El Salvador has not been able to provide good jobs or schools.

“What if there’s a little girl who had a decent school here, a decent health-care system for her and her family, a decent house with water supply, a job for his parents, for his mother and his dad, a decent job, living in a zone where a gang member would not come to rape her and kill her family?” Bukele said.

A photo of father and daughter stands at a vigil in their honour in Brownsville, Texas, on Sunday. (Loren Elliott/Reuters)

Many of those trying to reach the U.S. border in recent months have said they were fleeing grinding poverty, a lack of opportunity and violence in the gang-dominated Northern Triangle region of El Salvador, Honduras and Guatemala, or a combination of these factors.

Martinez’s mother said last week that the family had hoped to live and work in the United States for a few years, saving enough money to return and build a home.

“These are situations that make visible the problem of migration, something that happens daily,” said Mario Vega, pastor of the Elim Protestant church, one of El Salvador’s largest. “Yesterday it became known that another Salvadoran died in a detention centre in Texas, and this is something that happens every day.”

Vega criticized U.S. policies on migration and expressed hope that all countries would heed a UN call to respect migrants’ human rights.

“May God will that this tragedy [sensitizes] people,” he said.