By 1805 the various ranks of the nobility had become confused, as reflected in "War and Peace." In the era of the Napoleonic Wars, there were counts who were wealthier and more important than princes and noble families whose wealth had been dissipated partly through lack of primogeniture, partly through extravagance and due to poor estate-management. Young noblemen served in the military but did not thereby acquire new landed estates. Tolstoy reported later improvements: some nobles paid more attention to estate management, and some, like Andrey Bolkonsky, freed their serfs even before the tsar did so in 1861. Of Russia's nobles, 62.8% were szlachta from the nine western gubernii in 1858 and still 46.1% in 1897.