Set in the fictional kingdom of Ferelden during a period of civil strife, the player assumes the role of a warrior, mage or rogue coming from an elven, human, or dwarven background who must unite the kingdom to fight an impending invasion by demonic forces. BioWare describes Dragon Age: Origins as a "dark heroic fantasy set in a unique world," and a spiritual successor to their Baldur's Gate series of games, which took place in the Forgotten Realms Campaign Setting of the Dungeons & Dragons franchise.