In August 1806, the Prussian king, Frederick William III, decided to go to war independently of any other great power. The army of Russia, a Prussian ally, in particular was too far away to assist. On 8 October 1806, Napoleon unleashed all the French forces east of the Rhine into Prussia. Napoleon defeated a Prussian army at Jena (14 October 1806), and Davout defeated another at Auerstädt on the same day. 160,000 French soldiers (increasing in number as the campaign went on) attacked Prussia, moving with such speed that they destroyed the entire Prussian army as an effective military force. Out of 250,000 troops the Prussians sustained 25,000 casualties, lost a further 150,000 as prisoners, 4,000 artillery pieces, and over 100,000 muskets. At Jena, Napoleon had fought only a detachment of the Prussian force. The battle at Auerstädt involved a single French corps defeating the bulk of the Prussian army. Napoleon entered Berlin on 27 October 1806. He visited the tomb of Frederick the Great and instructed his marshals to remove their hats there, saying, "If he were alive we wouldn't be here today". Napoleon had taken only 19 days from beginning his attack on Prussia to knock it out of the war with the capture of Berlin and the destruction of its principal armies at Jena and Auerstädt. Saxony left Prussia, and together with small states from north Germany, allied with France.