I want to know the answer to the following question:
What year did Tang and Tibet sign a treaty to fix the borders?
All the background I'm provided with is that "Until the Tibetan Empire's collapse in the 9th century, it was the Tang's major rival in dominating Inner Asia.". Is that enough to answer the question?