NAIROBI, Kenya — Rebels from an Islamist militant group killed 22 people in an ambush in eastern Democratic Republic of the Congo on Saturday night, the authorities said.

The killings, which came amid fighting that began on Friday night, were carried out by members of the Allied Democratic Forces, a rebel group with origins in neighboring Uganda that is accused of killing hundreds of people over the past three years.

There were 10 survivors, according to Balyesima Kadokima, a member of Parliament.

Many victims of the attack, in the Beni region of North Kivu Province, were state officials who were coming from the border city of Nobili to spend the weekend, said Teddy Kataliko, a local activist.

The rebels, armed with machetes and guns, ambushed a group of nine motorcycles traveling on the road from Nobili to Beni, said Omar Kavota, a member of North Kivu Civil Society, a nongovernmental organization.