Some context: Duke was born in New York City, the only child of tobacco and hydroelectric power tycoon James Buchanan Duke and his second wife, Nanaline Holt Inman, widow of Dr. William Patterson Inman. At his death in 1925, the elder Duke's will bequeathed the majority of his estate to his wife and daughter, along with $17 million in two separate clauses of the will, to The Duke Endowment he had created in 1924. The total value of the estate was not disclosed, but was estimated variously at $60 million to $100 million (equivalent to $837 million to $1.395 billion in 2018), the majority culled from J.B. Duke's holds in Lucky Strike cigarettes. Duke spent her early childhood at Duke Farms, her father's 2,700-acre (11 km2) estate in Hillsborough Township, New Jersey.
Duke married twice, the first time in 1935 to James H. R. Cromwell, the son of Palm Beach society doyenne Eva Stotesbury. Cromwell, a New Deal advocate like his wife, used her fortune to finance his political career. In 1940 he served several months as U.S. Ambassador to Canada and ran unsuccessfully for the U.S. Senate. The couple had a daughter, Arden, who died one day after her birth. They divorced in 1943.  On September 1, 1947, while in Paris, Duke became the third wife of Porfirio Rubirosa, a diplomat from the Dominican Republic. She reportedly paid his second wife, actress Danielle Darrieux, $1 million to agree to an uncontested divorce. Because of her great wealth, Duke's marriage to Rubirosa attracted the attention of the U.S. State Department, which cautioned her against using her money to promote political agenda. Further, there was concern that in the event of her death, a foreign government could gain too much leverage. Therefore, Rubirosa had to sign a pre-nuptial agreement; during the marriage, though, she gave Rubirosa several million dollars in gifts, including a stable of polo ponies, sports cars, a converted B-25 bomber, and, in the divorce settlement, a 17th-century house in Paris. One of Doris Duke's best friends was Brazilian socialite and "jetsetter" Aimee de Heeren.  She reportedly had numerous affairs, with, among others, Duke Kahanamoku, Errol Flynn, Alec Cunningham-Reid, General George S. Patton, Joe Castro, and Louis Bromfield.  Duke posted a bail of $5,000,000 for her friend, former Philippine First Lady Imelda Marcos after the latter was arrested for racketeering.
When did she have an affair?
A: 

Some context: John Kenneth Galbraith  (October 15, 1908 - April 29, 2006), also known as Ken Galbraith, was a Canadian-born economist, public official, and diplomat, and a leading proponent of 20th-century American liberalism. His books on economic topics were bestsellers from the 1950s through the 2000s, during which time Galbraith fulfilled the role of public intellectual. As an economist, he leaned toward post-Keynesian economics from an institutionalist perspective. Galbraith was a long-time Harvard faculty member and stayed with Harvard University for half a century as a professor of economics.
In February 1946, Galbraith took a leave of absence from his magazine work for a senior position in the State Department as director of the Office of Economic Security Policy where he was nominally in charge of economic affairs regarding Germany, Japan, Austria, and South Korea. He was distrusted by the senior diplomats so he was relegated to routine work with few opportunities to make policy. Galbraith favored detente with the Soviet Union, along with Secretary of State James F. Byrnes and General Lucius D. Clay, a military governor of the US Zone in Germany from 1947 to 1949, but they were out of step with the containment policy then being developed by George Kennan and favored by the majority of the US major policymakers. After a disconcerting half-year, Galbraith resigned in September 1946 and went back to his magazine writing on economics issues. Later, he immortalized his frustration with "the ways of Foggy Bottom" in a satirical novel, The Triumph (1968). The postwar period also was memorable for Galbraith because of his work, along with Eleanor Roosevelt and Hubert Humphrey, to establish a progressive policy organization Americans for Democratic Action (ADA) in support of the cause of economic and social justice in 1947.  During his time as an adviser to President John F. Kennedy, Galbraith was appointed United States Ambassador to India from 1961 to 1963. His rapport with President Kennedy was such that he regularly bypassed the State Department and sent his diplomatic cables directly to the president. In India, he became a confidant of Prime Minister Jawaharlal Nehru and extensively advised the Indian government on economic matters. In 1966, when he was no longer ambassador, he told the United States Senate that one of the main causes of the 1965 Kashmir war was American military aid to Pakistan.  While in India, he helped establish one of the first computer science departments, at the Indian Institute of Technology in Kanpur, Uttar Pradesh. Even after leaving office, Galbraith remained a friend and supporter of India. Because of his recommendation, First Lady of the United States Jacqueline Bouvier Kennedy undertook her 1962 diplomatic missions in India and Pakistan.  In autumn 1972 Galbraith was an adviser and assistant to Nixon's rival candidate George McGovern in the election campaign for the American presidency. During this time (September 1972) he travelled in to China in his role as president of the American Economic Association (AEA) at the invitation of Mao Zedong's communist government with the economists Leontief and Tobin and in 1973 published an account of his experiences in A China Passage. Galbraith wrote that there was "no serious doubt that China is devising a highly effective economic system," "[d]issidents are brought firmly into line in China, but, one suspects, with great politeness," "Greater Shanghai ... has a better medical service than New York," and considered it not implausible that Chinese industrial and agricultural output was expanding annually at a rate of 10 to 11%.
Did he continue working with politics?
A:
In autumn 1972 Galbraith was an adviser and assistant to Nixon's rival candidate George McGovern in the election campaign for the American presidency.