section_path: Life/Army service
section_name: Army service
paragraph_text: Army service
  
  In accordance with his ambition to become a professional military officer in 1618, Descartes joined, as a mercenary, the Protestant Dutch States Army in Breda under the command of Maurice of Nassau, and undertook a formal study of military engineering, as established by Simon Stevin. Descartes, therefore, received much encouragement in Breda to advance his knowledge of mathematics. In this way, he became acquainted with Isaac Beeckman, the principal of a Dordrecht school, for whom he wrote the Compendium of Music (written 1618, published 1650).
  
  While in the service of the Catholic Duke Maximilian of Bavaria from 1619, Descartes was present at the Battle of the White Mountain near Prague, in November 1620.
  
  According to Adrien Baillet, on the night of 10–11 November 1619 (St. Martin's Day), while stationed in Neuburg an der Donau, Descartes shut himself in a room with an "oven" (probably a cocklestove) to escape the cold. While within, he had three dreams, and believed that a divine spirit revealed to him a new philosophy. However, it is speculated that what Descartes considered to be his second dream was actually an episode of exploding head syndrome. Upon exiting, he had formulated analytic geometry and the idea of applying the mathematical method to philosophy. He concluded from these visions that the pursuit of science would prove to be, for him, the pursuit of true wisdom and a central part of his life's work. Descartes also saw very clearly that all truths were linked with one another, so that finding a fundamental truth and proceeding with logic would open the way to all science. Descartes discovered this basic truth quite soon: his famous " I think, therefore I am."