Washington (CNN) Twenty-five minutes before President Donald Trump was due to be introduced into the House Chamber for his first address to Congress, the speech he was set to deliver was typed, bound and in his hands for delivery.

But it was the delivery the President was hung up on.

Sitting in the back of his armored limousine next to his wife, rain pounding on the windows, Trump set to work practicing a few lines with the advisers he trusts most: his son-in-law, Jared Kushner, and daughter, Ivanka. As the car rolled into a wet night toward Capitol Hill, Trump ran through the most important lines of his most important speech to date, looking to Kushner for approval.

What transpired moments later was Trump's most presidential showing to date, a disciplined address that had establishment Republicans breathing their first sigh of relief since Trump took office a month ago.

Until Trump mounted the rostrum in the House Chamber Tuesday evening, there was little certainty among Republican operatives and even some in the West Wing about how Trump would perform on the biggest night of his young presidency.

Weeks in the making, the speech had been written, rehearsed, overhauled and rehearsed again. But even with the text finalized and the pacing practiced, there were few outside Trump's innermost circle who could say with confidence he would be able to execute the type of commander-in-chief style speech that proved elusive on the campaign trail.

For a West Wing still reeling from reports of infighting and a pressure-cooker atmosphere, the speech provided an opportunity to disprove skeptics who see only dysfunction and disarray.

Trump himself began laying the groundwork for the speech's emotional zenith a month ago. As he phoned the wife of a Navy SEAL killed in the first counterterror raid he ordered as president, he broached the subject of inviting her to his address.

"I'm going to be giving this speech in February, if you would feel comfortable I'd love to have you as a guest," Trump told Carryn Owens, the grief-stricken widow of chief Ryan "William" Owens, on January 30, according to White House press secretary Sean Spicer.

White House military aides followed up with Owens in the ensuing weeks. Eventually, she said yes. On Tuesday, she brought her three children to the White House for a meeting with Trump before traveling to the Capitol for his speech. When Trump mentioned her slain husband, the applause lasted more than two minutes.

It was a stirring moment in a speech that had Trump declaring victory to friends on Wednesday.

"People are saying it was the best speech I've ever given," he told Newsmax CEO Chris Ruddy, who visited Trump in the Oval Office the day after the speech.

Trump began work on the address two weeks ago at his Florida estate Mar-a-Lago, where he spelled out to aides the broad themes he wanted included in his address. Over the next two weeks, Vice President Mike Pence, chief of staff Reince Priebus, chief strategist Steve Bannon and policy adviser Stephen Miller set to work forging a spate of broad ideas and themes into the hour-long address the President delivered Tuesday.

Aides insist the speech was entirely Trump's devising -- "We were more of a sounding board than anything else," said one top adviser -- but elements of his remarks contained clear fingerprints from his top aides.

JUST WATCHED Democratic women wear white to Trump's address Replay More Videos ... MUST WATCH Democratic women wear white to Trump's address 01:18

A section on paid leave for new parents bore the hallmarks of Ivanka Trump, who moved to Washington when her father took office and has made women's pay a top issue. A passage on putting America ahead of other countries was evocative of Bannon's own nationalist proclamations. And Trump's five-point list for a health care plan mapped closely with House Speaker Paul Ryan's own desired replacement for the Affordable Care Act.

The result was an amalgamation of his administration's varied priorities -- and, to its authors, a sign that competing interests serving an unconventional President are nonetheless able to craft a cohesive and well-received product that reflects their boss.

Last night's speech was a "Trump original," said one White House official, who described a hurried preparation process in the hours before the speech was delivered.

In the White House Map Room, on the basement floor of Trump's residence, aides had erected a teleprompter for Trump to practice on throughout the day. As he darted from his practice sessions to the West Wing for meetings and bill signings, he made last-minute tweaks to the text.

"He would read it through and then stop and say, 'I want to add a line about this or tweak that or use this word and not that word,' " said one aide.

That's not unusual for presidents eager to set out a broad policy agenda on their biggest speech of the year. Bill Clinton was known to change the wording in his State of the Union addresses while riding along Pennsylvania Avenue to the Capitol. Barack Obama regularly cleared his schedule of meetings in the days leading up to his yearly addresses.

Photos: President Trump's first address to Congress US President Donald Trump addresses a joint session of Congress for the first time on Tuesday, February 28. Behind him, from left, are Vice President Mike Pence and House Speaker Paul Ryan. Hide Caption 1 of 22 Photos: President Trump's first address to Congress Trump speaks at the beginning of his address. Hide Caption 2 of 22 Photos: President Trump's first address to Congress A wide view of the House chamber. Hide Caption 3 of 22 Photos: President Trump's first address to Congress Supreme Court justices watch the speech. From left, in front, are John Roberts, Anthony Kennedy, Stephen Breyer, Sonia Sotomayor and Elena Kagan. Hide Caption 4 of 22 Photos: President Trump's first address to Congress Maureen Scalia, the widow of late Supreme Court Justice Antonin Scalia, is applauded during the speech. Hide Caption 5 of 22 Photos: President Trump's first address to Congress Carryn Owens, center, cries as she is applauded by the chamber during Trump's speech. Owens' husband, Navy SEAL William "Ryan" Owens, recently was killed during a mission in Yemen. "Ryan died as he lived: a warrior and a hero, battling against terrorism and securing our nation," Trump said. The applause lasted over a minute, which Trump said must be a record. Hide Caption 6 of 22 Photos: President Trump's first address to Congress Trump also recognized Megan Crowley, a college student who, at 15 months old, was diagnosed with Pompe disease and wasn't expected to live past age 5. Her father founded a pharmaceutical company to find a cure. "Megan's story is about the unbounded power of a father's love for a daughter," Trump said. "But our slow and burdensome approval process at the Food and Drug Administration keeps too many advances, like the one that saved Megan's life, from reaching those in need." Hide Caption 7 of 22 Photos: President Trump's first address to Congress Muslim activist Fauzia Rizvi, a guest of US Rep. Mark Takano, watches Trump's address. Hide Caption 8 of 22 Photos: President Trump's first address to Congress Members of Trump's Cabinet applaud the President. From left are Defense Secretary James Mattis, Education Secretary Betsy DeVos, Attorney General Jeff Sessions, Treasury Secretary Steve Mnuchin and Secretary of State Rex Tillerson. Hide Caption 9 of 22 Photos: President Trump's first address to Congress Trump smiles during his speech, which lasted over an hour. Hide Caption 10 of 22 Photos: President Trump's first address to Congress House Minority Leader Nancy Pelosi listens to the speech. Hide Caption 11 of 22 Photos: President Trump's first address to Congress The President waves before starting his speech. Hide Caption 12 of 22 Photos: President Trump's first address to Congress Trump is applauded after arriving in the House chamber. Hide Caption 13 of 22 Photos: President Trump's first address to Congress Trump shakes hands with Ryan before starting. Hide Caption 14 of 22 Photos: President Trump's first address to Congress Trump shakes hands on his way through the chamber. Facing the President here are Health and Human Services Secretary Tom Price, left, and UN Ambassador Nikki Haley. Hide Caption 15 of 22 Photos: President Trump's first address to Congress Trump stands in the doorway of the House chamber while being introduced. Hide Caption 16 of 22 Photos: President Trump's first address to Congress Pence confers with Ryan before Trump's speech. Hide Caption 17 of 22 Photos: President Trump's first address to Congress First lady Melania Trump, bottom right, is applauded as she arrives in the chamber. Hide Caption 18 of 22 Photos: President Trump's first address to Congress US Sen. John McCain, left, talks with US Sen. Lindsey Graham before Trump arrived. Hide Caption 19 of 22 Photos: President Trump's first address to Congress US Sens. Cory Booker and Bob Menendez arrive in the House chamber. Hide Caption 20 of 22 Photos: President Trump's first address to Congress Many Democrats wore white as a nod to the women's suffrage movement. Posing for a photo here are, from left, US Reps. Brenda Lawrence, Joyce Beatty, Marcia Fudge and Val Demings. Hide Caption 21 of 22 Photos: President Trump's first address to Congress US Sen. Bernie Sanders arrives for the speech. Hide Caption 22 of 22

Trump, meanwhile, kept a jam-packed schedule on Monday and Tuesday, meeting with the various constituencies that have been filing through the West Wing since he took office a month ago.

Stepping away from his rehearsals Tuesday to meet for a traditional pre-speech lunch with television news anchors, Trump sought to scale up interest in his speech by floating the possibility he would endorse a bipartisan immigration reform plan that allows millions of undocumented immigrants to remain in the country.

A senior administration official on Wednesday characterized Trump's immigration comments to the anchors as a "misdirection play" meant to generate positive news coverage ahead of his highly scrutinized address. In the speech itself, Trump made only scant reference to legislative plans on immigration, saying only that such a compromise was possible.

With the lunch complete and the immigration story laid, Trump set back to work practicing his speech twice more before aides finalized the text.

After dinner with his family -- including a rare White House meal with his wife, Melania -- Trump changed out of the baggy navy blue suit he was wearing during the day into a more closely tailored gray jacket. He replaced his pattered red tie with more muted blue stripes. And then he headed out into the night.