Russia withdrew from the war in 1917 and Ludendorff participated in the meetings held between German and the new Bolshevik leadership. After much deliberation, the Treaty of Brest-Litovsk was signed in March 1918. That same year, as commander-in-chief on the Western Front, Ludendorff planned and organized Germany's final offensive, known as Operation Michael. This final push to win the war fell short and as the German war effort collapsed, Ludendorff's tenure of war-time leadership ended. On September 29, the Prussian kingship assumed its pre-war authority, which lasted until Kaiser Wilhelm II's abdication. Ludendorff fled Germany for Sweden.
Reflections on the war, a look to the future
In exile, he wrote numerous books and articles about the German military's conduct of the war while forming the foundation for the Dolchstoßlegende, which he was also largely responsible for. Ludendorff was convinced that Germany had fought a defensive war and in his opinion, Kaiser Wilhelm II had failed to organize a proper counter-propaganda campaign or provide efficient leadership.
Ludendorff was also extremely suspicous of the Socialist Democrats and leftists, who appeared to sell out Germany through the Versailles Treaty. Ludendorff also claimed that he paid close attention to the business element (especially the Jews), and saw them turn their backs on the war effort by letting profit dictate production and financing rather than patriotism. Again focusing on the left, Ludendorff was appalled by the strikes that took place towards the end of the war and saw the homefront collapse before the front, with the former poisoning the morale of the soldier on temporary leave. Most importantly, Ludendorff felt that the German people as a whole had underestimated what was at stake in the war: he was convinced the Entente had started the war and was determined to dismantle Germany completely. In what has proven to be somewhat prophetic, Ludendorff wrote:
By the Revolution the Germans have made themselves pariahs among the nations, incapable of winning allies, helots in the service of foreigners and foreign capital, and deprived of all self-respect. In twenty years' time, the German people will curse the parties who now boast of having made the Revolution.
http://en.wikipedia.org/wiki/Erich_Ludendorff