Question: when did krakow become the capital of poland
Answer: 1038
Other accepted answers: 1038