The New York Post pronounced Donald Trump's presidential candidacy dead on July 19, 2015. Barely a month into his campaign, the Manhattan billionaire had committed a kind of Republican blasphemy, declaring that the party's 2008 White House nominee, John McCain, is “not a war hero.”

“DON VOYAGE!” the tabloid's cover blared in all-caps. “Trump is toast after insult.”

Trump was, of course, not toast, which only gave the New York Post more opportunities to lampoon him. When Ted Cruz won the Iowa caucuses in February, for example, the paper said Trump had been “CRUZ-IFIED.”

And it was the New York Post that in July published nude photos of Trump's wife, Melania, from her modeling days. The photographer who snapped the images initially claimed that he took them in New York in 1995, prompting scrutiny of Melania Trump's immigration history. The former Melania Knauss, a native of Slovenia, had previously said she first came to the United States legally in 1996. The photographer later recanted and said the pictures were shot in 1996.

Yet in the home stretch of the general election, the Rupert Murdoch-owned New York Post appears to be going all in to Make America Great Again. The paper's covers over the past month have alternated between slamming Hillary Clinton and casting Trump as exactly the sort of political outsider he wants to be in the eyes of voters — a brawler who stands and fights against all forms of the “establishment.”

Murdoch was initially critical of Trump, particularly on the subject of immigration.

New York magazine reported last month that the Fox News owner personally ordered tough questions for Trump ahead of the first Republican debate.

A few days before the first GOP debate on Fox in August 2015, Murdoch called [Roger] Ailes, [the network's chairman at the time] at home. “This has gone on long enough,” Murdoch said, according to a person briefed on the conversation. Murdoch told Ailes he wanted Fox’s debate moderators — [Megyn] Kelly, Bret Baier and Chris Wallace — to hammer Trump on a variety of issues.

But Murdoch ultimately decided to support Trump after watching the primary race unfold and meeting with the real estate mogul several times, New York magazine reported. Murdoch tweeted in March that the Republican Party should rally behind Trump, and the New York Post endorsed Trump in April.

The endorsement included some reservations about Trump, such as “policies that seem made on the fly” and campaign rhetoric that “has too often been amateurish, divisive — and downright coarse.”

“Should he win the nomination,” the tabloid's editorial board wrote, “we expect Trump to pivot — not just on the issues, but in his manner. The post-pivot Trump needs to be more presidential: better informed on policy, more self-disciplined and less thin-skinned.”

Trump has not pivoted, and the New York Post has not yet made a general-election endorsement. But it seems quite clear that a newspaper that thought Trump's campaign was dead 15 months ago is now breathing life into his final bid.