Who tried to spread their territory into Tibet?