I want to know the answer to the following question:
By what year had Portugal established itself as an independent kingdom?
All the background I'm provided with is that "By 1139, Portugal had established itself as a kingdom independent from León.". Is that enough to answer the question?