In January 1833, a group called the "School of the Prophets" began meeting in a small second-story room in the Newel K. Whitney store in Kirtland, Ohio. Brigham Young reported later that Joseph Smith felt that there was something wrong with teaching of elevated truths in a thick cloud of tobacco smoke, and his wife Emma couldn't get the floor adequately clean from tobacco spittings. He apparently felt strongly enough to make it a matter of prayer, and the Word of Wisdom was written on February 27, 1833. It was then presented as divine counsel, not a binding commandment. It was first published as Section 89 of the the "Doctrine and Covenants, of the Church of the Latter Day Saints" in 1835 as and its observance thereafter was strongly encouraged but not considered obligatory until about 1921. The linked article on the Word of Wisdom on the Church History section of LDS Church web site refers to original documents.