on 14 october 1806, the french defeated the prussian army at the battle of jena-auerstadt. then french forces occupied prussia and captured berlin. later they advanced towards poland and russia. on 7-8 february 1807, the french and russian armies fought the battle of eylau. there was no clear winner. on 14 june 1807, the french defeated the russians at the battle of friedland. in july 1807, france made peace with russia, ending the war. this left napoleon as ruler of most of western and central europe. the exceptions were spain, portugal, austria, and a few smaller states. these were able to remain independent.