Thus, for three days and nights, the woman and the dog each used their abilities to battle, and at last the victor emerged, with Shangguan Linlang proving to be a notch above the dog. The dog admitted defeat willingly and accepted Shangguan Linlang, the Female General in command of the three armies, as its master, content to be at her service. Shangguan Linlang was delighted to have such an extraordinary dog, and she took to feeding it well every day, with choice meats and fine meals. Whatever Shangguan Linlang ate, the dog ate too. The dog thought highly of its beautiful mistress and worked even harder in its duties.