In the 8th century, the spaniel lived in monasteries in Tibet and China.