The powers ascribed to magicians often affect their roles in society.[original research?] In practical terms, their powers may give them authority; magicians may advise kings, such as Gandalf in The Lord of the Rings and Belgarath and Polgara the Sorceress in David Eddings's The Belgariad.