|The Holy Roman Empire ended on July 12th when the confederation of the Rhine was organized under the auspices of the French. This brought most of the German states under French influence. War with Prussia then ensues. On October 14, 1806 the French defeated the Prussians and the Saxons southwest of Berlin at the battles of Jena and Auerstedt. The French went on to a series of additional victories and on October 27th Napoleon occupied Berlin. On November 4, 1806 the remaining Prussian troops surrendered to the French.