Darwin had intended it as a section of "The Descent of Man". However, that book was already quite long: it was published in two volumes. So the "Expression of the Emotions" was published separately in 1872.