Why Does Russia Own Part Of Poland?

Did Poland used to be part of Russia?

.

Why is there a piece of Russia between Poland and Lithuania?

When did Russia give up Poland?

Why is there a little piece of Russia in Europe?