In 1898, Wallace published a book entitled "The Wonderful Century: Its Successes and Its Failures" about developments in the 19th century. The first part of the book covered the major scientific and technical advances of the century; the second part covered what Wallace considered to be its social failures including: the destruction and waste of wars and arms races, the rise of the urban poor and the dangerous conditions in which they lived and worked, a harsh criminal justice system that failed to reform criminals, abuses in a mental health system based on privately owned sanatoriums, the environmental damage caused by capitalism, and the evils of European colonialism. Wallace continued his social activism for the rest of his life, publishing the book "The Revolt of Democracy" just weeks before his death.