In 1885, Ludendorff was commissioned as a subaltern into the 57th Infantry Regiment, then at Wesel. Over the next eight years, he was promoted to lieutenant and saw further service in the 2nd Marine Battalion, based at Kiel and Wilhelmshaven, and in the 8th Grenadier Guards at Frankfurt on the Oder. His service reports reveal the highest praise, with frequent commendations. In 1893, he entered the War Academy, where the commandant, General Meckel, recommended him to the General Staff, to which he was appointed in 1894. He rose rapidly and was a senior staff officer at the headquarters of V Corps from 1902 to 1904.  Next he joined the Great General Staff in Berlin, which was commanded by Alfred von Schlieffen, Ludendorff directed the Second or Mobilization Section from 1904-13. Soon he was joined by Max Bauer, a brilliant artillery officer, who became a close friend. By 1911, Ludendorff was a full colonel. His section was responsible for writing the mass of detailed orders needed to bring the mobilized troops into position to implement the Schlieffen Plan. For this they covertly surveyed frontier fortifications in Russia, France and Belgium. For instance, in 1911 Ludendorff visited the key Belgian fortress city of Liege.  Deputies of the Social Democratic Party of Germany, which became the largest party in the Reichstag after the German federal elections of 1912, seldom gave priority to army expenditures, whether to build up its reserves or to fund advanced weaponry such as Krupp's siege cannons. Instead, they preferred to concentrate military spending on the Imperial German Navy. Ludendorff's calculations showed that to properly implement the Schlieffen Plan the Army lacked six corps.  Members of the General Staff were instructed to keep out of politics and the public eye, but Ludendorff shrugged off such restrictions. With a retired general, August Keim, and the head of the Pan-German League, Heinrich Class, he vigorously lobbied the Reichstag for the additional men. In 1913 funding was approved for four additional corps but Ludendorff was transferred to regimental duties as commander of the 39th (Lower Rhine) Fusiliers, stationed at Dusseldorf. "I attributed the change partly for my having pressed for those three additional army corps."  Barbara Tuchman characterizes Ludendorff in her book The Guns of August as Schlieffen's devoted disciple who was a glutton for work and a man of granite character but who was deliberately friendless and forbidding and therefore remained little known or liked. It is true that as his wife testified, "Anyone who knows Ludendorff knows that he has not a spark of humor...". He was voluble nonetheless, although he shunned small talk. John Lee, states that while Ludendorff was with his Fusiliers, "he became the perfect regimental commander ... the younger officers came to adore him." His adjutant, Wilhelm Breucker, became a devoted lifelong friend.

Answer this question "What did he do after 1904?" by extracting the answer from the text above.
In 1913 funding was approved for four additional corps but Ludendorff was transferred to regimental duties as commander of the 39th (Lower Rhine) Fusiliers,