How did polish get its language?

Can you answer this question?