Cui Hao () (died 450 CE), courtesy name Boyuan (伯淵), was a shangshu of the Xianbei-led Northern Wei dynasty of China. Largely because of Cui's counsel, Emperor Taiwu of Northern Wei was able to unify northern China, ending the Sixteen Kingdoms era and, along with the Liu Song dynasty in southern China, entering the Southern and Northern Dynasties era. Also because of the influence of Cui, who was a devout Taoist, Emperor Taiwu became a devout Taoist as well. However, in 450, over reasons that are not completely clear to this day, Emperor Taiwu had Cui and his cadet branch executed. During Emperor Daowu and Emperor Mingyuan's reigns It is not known when Cui Hao was born. He was the oldest son of the ethnic Han Cui Hong (崔宏), a high-level official under Emperor Daowu, who carried the title of Marquess of Baima. In Cui Hao's youth, he was said to have studied a broad number of books, but was particularly known for his literary abilities, as well as his astrological prophecies. The first historical reference to Cui Hao was in 409, when he was a low-level official in Emperor Daowu's administration. At that time, Emperor Daowu was often violent and arbitrary in his actions, because of poisoning from pills he received from alchemists, and the imperial officials often found excuses to stay away from him lest that they be stricken by his anger. However, Cui Hong and Cui Hao were described of having served Emperor Daowu diligently despite this, and they were among the few officials who never received any punishment from him. Later in 409, Emperor Daowu was assassinated by his son Tuoba Shao (拓拔紹) the Prince of Qinghe, who then tried to take over the regime, but was defeated and killed by his older brother Tuoba Si the Crown Prince, who then took the throne as Emperor Mingyuan. During Tuoba Shao's coup, he tried to get officials to follow him by awarding them with many things, but Cui Hong declined them all, and Cui Hong was therefore praised by Emperor Mingyuan and created the Duke of Baima. In 414, Cui Hao started teaching Emperor Mingyuan the mystical texts I Ching and Hong Fan (洪範), and because of this and the accuracy of a number of Cui Hao's predictions, Emperor Mingyuan began to trust him greatly. In 415, during the middle of a severe famine, it was at