Kant was regarded as a freethinker and an atheist for his ideas of liberty of mind and of the individual, yet he did not diminish the importance of religion for the development of morality in his writings. These ideas are expressed most fully in the book «Religion within the Bounds of Bare Reason».