When was Duchy of Warsaw created?

Duchy of Warsaw was created in 1807.