The Duchy of Warsaw (Polish: Księstwo Warszawskie) was founded by Napoleon I. in 1807 and was a client State of the First French Empire. It was a key ally to Napoleon and it fought until the end of the napoleonic wars.