MOGADISHU, Somalia — At least 14 people were killed on Thursday when the bus they were on was struck by a roadside bomb in a town near Mogadishu, the Somali capital, local officials said.

The bus, carrying about 20 people, was hit as it traveled through the town of Lafoole, about 15 miles from the capital, said the town’s deputy commissioner, Abdisalam Ali Adam. “We confirmed the deaths of 14 people,” he said, adding that at least two more people were wounded in the blast, including the driver.