Rupert Murdoch embraces President Trump. Credit:Al Drago/The New York Times Before the news broke that Murdoch had agreed to sell vast parts of his 21st Century Fox to the Walt Disney Co. for US$52.4 billion ($67.8 billion), Trump called him to get his assurance that the Fox News Channel, the highly rated cable network and frequent bullhorn of the Trump agenda, would not be affected. On December 14, the day the agreement was announced, Trump let the world know that he had made a congratulatory call to Murdoch. Sarah Huckabee Sanders, the White House press secretary, also passed along the president's belief that the deal would be "a great thing" for jobs - a claim disputed by Wall Street analysts. After decades of ups and downs, Trump now counts Murdoch as one of his closest confidants. The two titans made a show of their improved relationship in June 2016, when Murdoch visited Trump at the Trump International Golf Links Scotland before a group of reporters. They appeared together again at a black-tie dinner in May in honour of American and Australian veterans who fought side by side in World War II. Murdoch introduced the president as "my friend Donald J. Trump" before they engaged in a brief hug. They are opposites in personal style, with Murdoch gruff and low-key, preferring schlubby newsrooms to Trump's gilded towers and glitz. But they have much in common.

After buying The New York Observer, Kushner sought out Murdoch. Credit:New York Times Both were born to wealth, but at a distance from the centres of power. Trump grew up in Jamaica, Queens, the son of a real estate developer content to earn his fortune in the boroughs outside Manhattan - so close but so far from glittering Midtown, where the son would make his name and his home. Murdoch, the son of a journalist who became the owner of a newspaper chain, spent his childhood in Melbourne. Murdoch, 86, and Trump, 71, are also alike in that they were both sent to exclusive schools as boys before going on to outdo their fathers in the family businesses. Although both men parlayed their inheritances into global power, they have stubbornly viewed themselves as outsiders at odds with the establishment. When Murdoch entered the British newspaper market in 1968, London society shunned him and his vulgar tabloids, The Sun and The News of the World, which he used to wound his enemies and advance his political interests. Trump withstood a similar wariness among the elite after he made himself a Manhattan player through his brazen deal making and hucksterism. Media baron Rupert Murdoch (left) has longstanding ties with President Donald Trump, and his daughter, Ivanka (right) To make their way upward in New York, both men relied on a powerful friend, lawyer Roy M. Cohn, a ruthless fixer who made his name in the 1950s as the chief counsel to Joseph McCarthy, the Red-baiting senator, before representing some of the city's most powerful figures, including the mobster John Gotti and the New York Yankees owner George Steinbrenner.

Cohn connected Trump to Murdoch and the tabloid he bought in 1976, The New York Post. The upstart developer saw that he could benefit from the brash daily - especially its Page Six gossip column, which started a year after Murdoch became the paper's owner. Wendi Murdoch and Ivanka Trump on holiday in Croatia. Credit:Ivanka Trump/Instagram "Trump was interested in specifically Rupert's ownership of The Post, because Page Six is very important to his rising stature in New York City and branding efforts," said Roger Stone, a Republican operative who has known both men for decades. Trump seemed to revel in the tabloid's saucy coverage of his personal life. In 1989 and 1990, The Post turned out a series of front pages on Trump's split from his first wife, Ivana Trump, and his affair with Marla Maples. The stream of headlines in bold block letters culminated in a quote attributed to Maples: "Best Sex I've Ever Had." Walt Disney chief executive Bob Iger and Rupert Murdoch.

Trump's enthusiastic response to the planned Disney-Fox megadeal may have been lost in the swirl of Washington news had it not been for his vehement opposition to another recent attempt at media consolidation - AT&T's proposed US$85.4 billion ($110 billion) acquisition of Time Warner, the parent company of CNN, a frequent target of the president's "fake news" complaints. While so far making no move on the Disney-Fox plan, the Justice Department has sued to block the AT&T-Time Warner deal on antitrust grounds in a rare instance of governmental interference in a merger of two companies that do not directly compete with each other. Murdoch, whose ideology is more malleable than his critics realise, has long gained from his knack for placing himself close to power. In the 1980s, when he was cosy with Prime Minister Margaret Thatcher, his London tabloids took a pro-Tory stance. In 1997, his newspapers endorsed the Labor Party leader Tony Blair for prime minister. Donald Trump is the first US president to establish close ties with Murdoch Credit:Evan Vucci Lance Price, a former Blair spokesman, referred to Murdoch as "effectively a member of Blair's Cabinet." In turn, Murdoch faced little government scrutiny as he expanded his media empire to reach 40 percent of British newspaper readers and millions of television viewers through his stake in Sky, a pay TV service. But after a 2011 phone hacking scandal at the now-shuttered News of the World put a spotlight on his remarkable political influence, he found himself facing regulatory hurdles, and his $15 billion bid for a 61 percent stake of Sky came to nothing. Even as Murdoch enjoyed an open invitation to 10 Downing Street, he found that his overtures to U.S. presidents mostly fell short. And before making their alliance, Murdoch and Trump had to put their old spats behind them.

Before the recent rapprochement, Murdoch privately called Trump "phony," and accused him of exaggerating his net worth. For his part, Trump once threatened to sue Murdoch for libel after The Post reported that the storied Maidstone Club in East Hampton, New York, had denied him membership. During much of the 2016 presidential campaign, Murdoch - who initially swooned over Jeb Bush - stood against Trump, declaring on Twitter that he was "embarrassing his friends" and "the whole country." The Wall Street Journal, Murdoch's crown jewel, ran an editorial calling the candidate a "catastrophe".The Post led with the headline "Don Voyage" and declared, "Trump is toast". Trump shot back on Twitter: "Wow, I have always liked the @nypost but they have really lied when they covered me in Iowa." He also went after the Journal: "Look how small the pages have become @WSJ," he wrote. "Looks like a tabloid ??? saving money I assume!" The Post ended up endorsing Trump, with reservations, in the New York primary, but refrained from endorsing either him or Hillary Clinton in the general election. More recently, Murdoch expressed exasperation with Trump's immigration policies. In response to the White House ban on travel of people from majority-Muslim nations, his company, 21st Century Fox, released a memo offering assistance to any employees hurt by the executive order and reminding them that "21CF is a global company, proudly headquartered in the U.S., founded by - and comprising at all levels of the business - immigrants." In August, James Murdoch, the younger son of Murdoch and the chief executive of 21st Century Fox, condemned the president's response to the riots in Charlottesville, Virginia.

The man partly responsible for the detente was another moneyed outsider who craved status and respect: Jared Kushner. When Kushner bought The New York Observer in 2006, he wasted little time reaching out to Murdoch. "He wanted to be Murdoch," said one person close to both men at the time. In early 2016, after a presidential debate during which Trump faced aggressive questioning from Megyn Kelly, then a Fox News anchor, the candidate sent Kushner to Murdoch on a media diplomacy mission. Kushner's wife, Ivanka Trump, is close friends with Murdoch's third wife, Wendi Deng. Murdoch and Deng attended the Kushner-Trump wedding in 2009 at the Trump National Golf Club in Bedminster, New Jersey, and the Murdoch daughters, Grace and Chloe, served as flower girls. Before Murdoch and Deng divorced in 2013, Kushner and Ivanka Trump vacationed on Rosehearty, Murdoch's 184-foot sailing yacht. In a further sign of the two families' closeness, Ivanka Trump took on the job of Murdoch trustee responsible for overseeing the two girls' $300 million fortune - a role she gave up a month before her father took office. In June 2016, when Donald Trump appeared to be the inevitable Republican nominee, Murdoch made the visit to Trump International Golf Links Scotland. Completed in 2012 over the objections of nearby residents, the course lies 35 miles from the herring-fishing port of Rosehearty, the town left behind by the Murdoch clan when it emigrated to Australia in 1884.

Murdoch arrived with former model Jerry Hall, his fourth wife, whom he married in March. Under cloudy skies, the newlyweds toured the property in a golf cart large enough for four. Trump was at the wheel, with Hall seated beside him. Murdoch, wearing sunglasses, sat on a backward-facing rumble seat as they made their way to the Trump-refurbished Macleod House, a 15th-century mansion, where they had dinner. Trump's mended relationship with Murdoch has not gone unnoticed by Time Warner executives, who wonder why AT&T's attempt to buy the company has run into regulatory trouble at a time when the president has smiled on the Disney-Fox deal. "If you look at the facts of our case, even before you heard the administration's endorsement of the Disney-Fox deal, it was hard to understand how the Justice Department could reach a decision to block our deal," Jeffrey L. Bewkes, the chief executive of Time Warner, said. A spokesman for the White House, Raj Shah, said that Trump hadn't spoken to Attorney General Jeff Sessions about the AT&T-Time Warner deal and that "no White House official was authorised to speak with the Department of Justice on this matter." The way CNN's parent company views it, Fox News has adopted a role similar to the one played by Murdoch's British tabloids when they helped advance the agendas of British leaders. As Blair learned, however, even a special relationship with the media baron can sour quickly. He and Murdoch - once so close that Blair was the godfather to Grace Murdoch - are no longer on speaking terms.

Loading During the British government's 2012 inquiry into the mogul's political influence, the former prime minister described what it was like when a story subject falls out of favor with a Murdoch-controlled tabloid. "Once they're against you, that's it," Blair said. "It's full on, full frontal, day in, day out, basically a lifetime commitment."