R. Schneer Zalman of Liadi (1745–1813), the founder of Habad hasidism was according to family traditions born in Liozna, Belorussia, on the 18th of Elul. After his marriage in 1760 he devoted himself to Torah study. Concluding that he knew "a little about learning, but nothing about prayer" in 1764 he decided to learn about hasidism from R. Dov Baer the Maggid of Mezhirech, leader of the hasidic movement. In Mezhirech he became one of the inner circle of the Maggid's pupils. Although he was one of the youngest pupils, the Maggid had a high opinion of him, and in 1770 delegated to him the task of composing a new and up-to-date Shulhan Arukh. R. Schneer Zalman worked on this book for many years, but published only small parts of it. About one-third was printed posthumously (the rest had been destroyed by fire) and is known as the "Shulhan Arukh of the Rav" (1814). Though not a hasidic work, it represents—as the Maggid had intended—a great halakhic achievement. It evidences R. Schneer Zalman's superb Hebrew style, his ability to provide lucid explanation, and profundity without complexity. It became an authoritative halakhic source among observant Jews.