Napoleon defeated the Prussian army in several key battles and established a semi-independent Duchy of Warsaw from 1807 to 1815 .
Prussian army was defeated by Napoleon in several key battles , and established a semi-independent Duchy of Warsaw , from 1807 to 1815 .