Donald Trump inaugural address sot 2_00000613.jpg
CNN
Donald Trump inaugural address sot 2_00000613.jpg
Now playing
01:41
Trump: Power coming back to the people
Brooke Baldwin last show goodbye CNN newsroom vpx_00000217.png
CNN
Brooke Baldwin last show goodbye CNN newsroom vpx_00000217.png
Now playing
03:56
'Get a little uncomfortable': See Brooke Baldwin's last words on air
Now playing
01:24
How Kyra Sedgwick got the cops called on Tom Cruise
Now playing
05:18
Anderson Cooper explains how he overcomes being shy
US Navy
Now playing
01:28
Pentagon confirms UFO video is real, taken by Navy pilot
Kristina Barboza
Now playing
03:09
Grieving mom's advice to other families: You can try to help, support and love
Fancy Feast/Purina
Now playing
01:06
Cat food company makes a cookbook ... for humans
Now playing
02:35
WWII veteran: End of the war was 'the biggest thrill of my life'
Google Earth's new timelapse feature
Google
Google Earth's new timelapse feature
Now playing
01:09
Google Earth's new Timelapse feature shows 40 years of climate change in just seconds
FOX/"The Masked Singer"
Now playing
01:23
'The Masked Singer' reveals identity of The Orca
LONDON, ENGLAND - DECEMBER 07:  A visual representation of the digital Cryptocurrency, Bitcoin on December 07, 2017 in London, England. Cryptocurrencies including Bitcoin, Ethereum, and Lightcoin have seen unprecedented growth in 2017, despite remaining extremely volatile. While digital currencies across the board have divided opinion between financial institutions, and now have a market cap of around 175 Billion USD, the crypto sector coninues to grow, as it continues to see wider mainstreem adoption. The price of one Bitcoin passed 15,000 USD across many exchanges today taking it higher than previous all time highs.  (Photo by Dan Kitwood/Getty Images)
Dan Kitwood/Getty Images
LONDON, ENGLAND - DECEMBER 07: A visual representation of the digital Cryptocurrency, Bitcoin on December 07, 2017 in London, England. Cryptocurrencies including Bitcoin, Ethereum, and Lightcoin have seen unprecedented growth in 2017, despite remaining extremely volatile. While digital currencies across the board have divided opinion between financial institutions, and now have a market cap of around 175 Billion USD, the crypto sector coninues to grow, as it continues to see wider mainstreem adoption. The price of one Bitcoin passed 15,000 USD across many exchanges today taking it higher than previous all time highs. (Photo by Dan Kitwood/Getty Images)
Now playing
03:07
Bitcoin has an energy problem
The new all-electric Mercedes-EQS
Mercedes-Benz AG
The new all-electric Mercedes-EQS
Now playing
01:05
See the new all-electric EQS luxury sedan from Mercedes
Now playing
01:32
Scientists turned spiderwebs into music and it sounds like a nightmare
Jeopardy Productions, Inc.
Now playing
01:02
Aaron Rodgers' Green Bay Packers question stumps 'Jeopardy!' contestants
Now playing
05:18
Coinbase CFO: We're an on-ramp to the crypto economy
CNN
Now playing
02:12
'Too dangerous to do anymore': Sacha Baron Cohen on Borat
(CNN) —  

President Donald Trump signed his first bill into law Friday, moments after being sworn in, clearing the way for his defense secretary to be confirmed.

The 45th President signed a bill passed by Congress earlier this month that would allow retired Gen. James Mattis to serve as defense secretary by waiving the legal requirement that he be out of the military for seven years before doing so, according to White House press secretary Sean Spicer.

Mattis will still need to be confirmed by the Senate, which is expected Friday afternoon.

Cameras rolled as Trump signed his first orders as President in the Capitol, surrounded by congressional leaders.

According to Spicer, the other papers Trump was signing included formal nominations for his Cabinet and a proclamation for a national day of patriotism.

The ceremony took place moments after Trump left the podium outside the Capitol building where he was sworn in and delivered his inaugural address.

As is customary, Trump used a series of pens to sign the measures, then distributed the pens among the people gathered. Presidential signing pens are regularly given out as commemorative gifts to politicians or individuals touched by the action.

The moment played out on live television as Trump offered his first pen to the Democrats around him, first House Minority Leader Nancy Pelosi and then Senate Minority Leader Chuck Schumer, who hails from New York and has long known Trump.

The mood was jovial, as Trump, surrounded by family, joked with congressional leaders. He, Pelosi and Schumer talked about trading pens as Pelosi remarked that hers came from the nominating papers of Georgia Rep. Tom Price.

Price, up for Health and Human Services, is being strongly opposed by Democrats, who have attacked him on policy and called for an investigation into some of his stock trades, which Price defended before the Senate committee holding his confirmation hearing this week.

Trump offered Pelosi the pen from the paper he was signing instead, that of transportation secretary nominee Elaine Chao.

Pelosi demurred, with Trump giving the pen to Chao’s husband, Senate Majority Leader Mitch McConnell.

The Senate will begin voting on Trump’s Cabinet on Friday afternoon, but is only expected to confirm two nominees that day – Mattis and retired Gen. John Kelly, up for Homeland Security.

The remaining nominees are expected to receive debate, hearings and votes in coming days.