all the candidates were failed by the prime minister (apparently in order to prevent the emergence of possible rivals). He never again attempted the examinations, instead petitioning the emperor directly in 751, 754 and probably again in 755. He married around 752, and by 757 the couple had had five children—three sons and two daughters—but one of the sons died in infancy in 755. From 754 he began to have lung problems (probably asthma), the first of a series of ailments which dogged him for the rest of his life. It was in that year that Du Fu was forced to move his family due to the turmoil of a famine brought about by massive floods in the region. In 755, he received an appointment as Registrar of the Right Commandant's office of the Crown Prince's Palace. Although this was a minor post, in normal times it would have been at least the start of an official career. Even before he had begun work, however, the position was swept away by events. War The An Lushan Rebellion began in December 755, and was not completely suppressed for almost eight years. It caused enormous disruption to Chinese society: the census of 754 recorded 52.9 million people, but ten years later, the census counted just 16.9 million, the remainder having been displaced or killed. During this time, Du Fu led a largely itinerant life unsettled by wars, associated famines and imperial displeasure. This period of unhappiness was the making of Du Fu as a poet: Eva Shan Chou has written that, "What he saw around him—the lives of his family, neighbors, and strangers– what he heard, and what he hoped for or feared from the progress of various campaigns—these became the enduring themes of his poetry". Even when he learned of the death of his youngest child, he turned to the suffering of others in his poetry instead of dwelling upon his own misfortunes. Du Fu wrote: In 756, Emperor Xuanzong was forced to flee the capital and abdicate. Du Fu, who had been away from the city, took his family to a place of safety and attempted to join the court of the new emperor (Suzong), but he was captured by the rebels and taken to Chang'an. In the autumn, his youngest son, Du Zongwu (Baby Bear), was born. Around this time Du Fu is thought to have contracted malaria. He