Task: Question Answering
Input (English): Passage: Charles II, who promoted a number of Roman Catholics at court, granted Wright a measure of royal art patronage. In 1661, soon after the coronation, he painted a formalised portrait of the monarch, seated in front of a tapestry representing the Judgement of Solomon, wearing St. Edward's Crown, the robes of the Garter, and carrying the orb and sceptre. Wright was also commissioned to paint an allegorical ceiling for the King's bedchamber at Whitehall Palace, and he was further appointed in 1673 to the office of "picture drawer in ordinary", allowing him to exercise his right to sign his pictures "Pictor Regis". However, to his disappointment, he did not receive the coveted office of King's Painter, which was held in the 1660s by Sir Peter Lely alone. In contrast to Wright's sympathetic realism, and carefully observed landscape backgrounds, Lely had a more glamorous style, favoured by the court, and based on Van Dyck's pre-Civil War style. This prompted the diarist Samuel Pepys to remark, after an enjoyable visit to Lely's studio, "thence to Wright's the painters: but Lord, the difference that is between their two works".Unlike Lely, who was knighted, Wright never received significant recognition from King Charles. However, at least one admirer thought he did deserve it. In 1669, Wright and the miniaturist Samuel Cooper had met Cosimo III de' Medici, Grand Duke of Tuscany. Cosimo later called at Wright's studio where he commissioned a portrait of the Duke of Albemarle from Wright. On 3 March 1673, perhaps some time after Wright had painted his state picture of Charles II (now in the Royal Collection), a strange letter was sent from an obscure "Mairie Lady Hermistan" (evidently a fellow Roman Catholic) to Cosimo, asking him to intercede with the King to grant Wright a baronetcy. However, nothing came of the request. 
Question: What was the name of the person Write was commissioned to paint an allegorical ceiling for?
Output (English): paint an allegorical ceiling for.