Answer
Fergus, Lord of Galloway, was the dynastic origin of Alan. Fergus was a powerful lord who ruled over the region of Galloway in southwestern Scotland during the 12th century. He was the progenitor of the Clan MacAlan, which later became known as the Clan MacDougall. Alan was a descendant of Fergus and inherited his claim to the lordship of Galloway.