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