What years was Tibet an independent country?

Before the 13th century.