The Bhagavad Gita, a post-Vedic scripture composed in 5th to 2nd century BCE, introduces bhakti marga (the path of faith/devotion) as one of three ways to spiritual freedom and release, the other two being karma marga (the path of works) and jnana marga (the path of knowledge). In verses 6.31 through 6.47 of the Bhagavad Gita, Krishna as an avatar of deity Vishnu, describes bhakti yoga and loving devotion, as one of the several paths to the highest spiritual attainments.