Odda, also known as Oddune, was a ninth-century ealdorman of Devon. He is known for his victory at the Battle of Cynwit in 878, where his West Saxon forces defeated a Viking army led by Ubba, brother of the Viking chiefs Ivar the Boneless and Halfdan Ragnarsson.
Little is known of Odda's early life, but he became ealdorman of Devon sometime before 878, ultimately succeeding Karl, or Ceorle, the ealdorman in 851. Throughout the 870s Odda's liege, Alfred the Great, King of Wessex, was engaged in constant war with the Vikings. They had begun their invasion of England in 865, and by Alfred's accession in 871 the Kingdom of Wessex was the only Anglo-Saxon realm opposing them. By 878 the conflict was going poorly for Alfred. In January of that year, the Danes made a sudden attack on Chippenham, a royal stronghold in which Alfred had been staying over Christmas, "and most of the people they killed, except the King Alfred, and he with a little band made his way by wood and swamp, and after Easter he made a fort at Athelney in the marshes of Somerset, and from that fort kept fighting against the foe".
Alfred was faced with an issue of loyalty, with the real possibility that many of his people would not remain faithful to him, and instead lend their allegiance to Guthrum, King of the Danish Vikings and conqueror of much of Wessex. It has been suggested that Wulfhere, Ealdorman of Wiltshire, had already gone over to Guthrum's side in exchange for a royal title. Odda was forced to choose between Alfred and Guthrum in early 878 when an army of Vikings, led by Ubba, supposed son of the legendary Ragnar Lodbrok, landed on the north Devon or Somerset coast, possibly near modern-day Lynmouth. Choosing not to side with the invaders, Odda gathered an army, mostly composed of inexperienced farmers and peasants, and retreated to a defensive position overlooking the beach. This location is usually identified as Countisbury Hill, but other sites such as Cannington Camp, Somerset, have also been suggested.