Ugandan troops have killed 41 gunmen in a major battle with tribal gunmen in the western district of Bundibuguyo near the border with the Democratic Republic of Congo, Uganda's army spokesman said Sunday.