A lauded Canadian humanitarian was sentenced to nine years in prison by a Nepali court for raping two young boys last year.

Peter Dalglish, who worked for decades as an advocate for children in impoverished corners of the world, was convicted in June of sexually assaulting the boys — aged 12 and 14 — last year in Kartike, a small Nepali village of rutted roads where he built a home.

It is unclear if the 62-year-old, who has maintained his innocence, plans to appeal the sentence, which was delivered in a district court and included a small cash payment to each of the victims’ families.

His lawyer Rahul Chapagain declined to comment. Two other lawyers who also represented him could not be reached for comment.

International activists following Dalglish’s case said the ruling was just one step in addressing grave accusations of sexual abuse against children in Nepal, where thousands of nongovernmental organisations operate with limited oversight.

Rebuilding lives in Nepal Show all 12 1 /12 Rebuilding lives in Nepal Rebuilding lives in Nepal Most of the workers helping build in Nepal are migrants from India Chris Parkes Rebuilding lives in Nepal Brick factories and the red clay blocks they produce are in demand after the earthquake. For every set of bricks workers bring to the truck, they receive a token, and each token translates into payment. So the more they work, the faster they work, the more they get paid Chris Parkes Rebuilding lives in Nepal Works are underway to restore buildings like this one across Nepal Chris Parkes Rebuilding lives in Nepal Chris Parkes Rebuilding lives in Nepal Chris Parkes Rebuilding lives in Nepal Rebuilding lives in Nepal Many buildings were destroyed in the devastating earthquake and the aftershock that followed Chris Parkes Rebuilding lives in Nepal Mina is a shy 11 year old with strikingly beautiful eyes. Her favourite subject is Nepali. She walks half an hour each way to get to her school in the Sindhuli Valley each day Chris Parkes Rebuilding lives in Nepal 65-year-old Rebati, dressed in a vivid blue sari, is Musahar woman from Itharwa, Dhanusha. ‘When we send our children to school, they are sent back if they walk across land owned by someone else,’ she says Chris Parkes Rebuilding lives in Nepal Street Child of Nepal and UNICEF new classroom site at Sunkoshi Higher Secondary School Chris Parkes Rebuilding lives in Nepal Thousands of students will be able to study in the new buildings being constructed Chris Parkes Rebuilding lives in Nepal The temporary Sunkoshi school building will be one of 25 Chris Parkes

“Peter Dalglish’s sentencing is an alarm bell for the humanitarian community,” said Lori Handrahan, a veteran international aid worker and author, urging her colleagues “to tackle the pervasive problem of predators in our humanitarian workplace.”

In recent months, spurred on by a #MeToo-like movement called #AidToo, humanitarian organisations have added urgency to investigating themselves.

Last year, Oxfam, one of Britain’s biggest charities, acknowledged that in 2011 four workers had been fired and three others had resigned after an investigation found that senior officials for the organisation had hired prostitutes in Haiti.

In Nepal, one of Asia’s poorest countries, several foreign men working in charities or as aid workers have been arrested in the last couple of years on suspicion of paedophilia, the police have said.

Some of them were accused of luring children with the promise of food, clothing or money.

Dalglish, a lawyer from Ontario and an awardee of the Order of Canada, one of the country’s highest civilian honours, was well-known for his work with vulnerable children.

For years, he helped homeless youths around the world find jobs through an organisation he co-founded, Street Kids International, which was absorbed by Save the Children.

He had lived in Nepal off and on since 2002, and helped families rebuild their homes after devastating earthquakes killed nearly 9,000 people in 2015.

Oxfam's head of safeguarding: In one instance 'a woman had been coerced to have sex in exchange for aid'

In Kartike, a lush village of farmers on the outskirts of Kathmandu, Nepal’s capital, Dalglish helped pay for school supplies and employed local people to maintain his sleek house, which he advertised on Airbnb as a “Himalayan Hideaway” equipped with a Bose sound system.

In April 2018, nearly a dozen police officers swarmed Dalglish’s home, placed a gun to his head and arrested him under suspicion of repeatedly raping two of the village’s boys, including the son of the home’s caretaker.

Investigators eventually found a box containing photographs of naked children, some of them playing in pools.

Gauri Pradhan, a former member of Nepal’s National Human Rights Commission, said Monday’s sentencing put to rest a “landmark case” for the country.

“Peter was an influential person,” he said. “The ruling has given a clear message to child abusers that Nepal is not a safe haven for them.”