ORLANDO, FLORIDA - FEBRUARY 28:  Former President Donald Trump addresses the Conservative Political Action Conference held in the Hyatt Regency on February 28, 2021 in Orlando, Florida. Begun in 1974, CPAC brings together conservative organizations, activists, and world leaders to discuss issues important to them. (Photo by Joe Raedle/Getty Images)
Joe Raedle/Getty Images
ORLANDO, FLORIDA - FEBRUARY 28: Former President Donald Trump addresses the Conservative Political Action Conference held in the Hyatt Regency on February 28, 2021 in Orlando, Florida. Begun in 1974, CPAC brings together conservative organizations, activists, and world leaders to discuss issues important to them. (Photo by Joe Raedle/Getty Images)
Now playing
02:40
Acosta: Trump opened up 'fire hose of falsehoods' at CPAC
Kevin McCarthy, R-Calif., and Liz Cheney, R-Wyo., conduct a news conference in the Capitol Visitor Center after a meeting with the House Republican Conference on Wednesday, September 23, 2020.
Tom Williams/CQ-Roll Call/Getty Images
Kevin McCarthy, R-Calif., and Liz Cheney, R-Wyo., conduct a news conference in the Capitol Visitor Center after a meeting with the House Republican Conference on Wednesday, September 23, 2020.
Now playing
02:55
Hear McCarthy on a hot mic revealing what he thinks of Cheney
Tennessee House of Representatives
Now playing
03:08
GOP lawmaker applauded after praising three-fifths compromise
Getty Images/AP
Now playing
01:29
This is who Trump endorsed to replace Liz Cheney
Now playing
03:48
Why the GOP has false beef with Biden's climate plan
Michael Gerson republicans McCarthy Trump newday vpx _00013913.png
CNN
Michael Gerson republicans McCarthy Trump newday vpx _00013913.png
Now playing
03:15
Former Bush speechwriter on GOP: Major moral failure for our country
President Joe Biden speaks about the COVID-19 vaccination program, in the State Dining Room of the White House, Tuesday, May 4, 2021, in Washington.
Evan Vucci/AP
President Joe Biden speaks about the COVID-19 vaccination program, in the State Dining Room of the White House, Tuesday, May 4, 2021, in Washington.
Now playing
02:31
Biden announces new goal for Covid-19 vaccinations
WASHINGTON, DC - APRIL 15: U.S. House Minority Leader Rep. Kevin McCarthy (R-CA) listens during a weekly news conference at the U.S. Capitol April 15, 2021 in Washington, DC. Leader McCarthy held his weekly news conference to answer questions from members of the press. (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
WASHINGTON, DC - APRIL 15: U.S. House Minority Leader Rep. Kevin McCarthy (R-CA) listens during a weekly news conference at the U.S. Capitol April 15, 2021 in Washington, DC. Leader McCarthy held his weekly news conference to answer questions from members of the press. (Photo by Alex Wong/Getty Images)
Now playing
04:06
CNN speaks to McCarthy's constituents. Here's what they think of him
de Beaumont Foundation
Now playing
06:21
Republican vaccine skeptics explain why they changed their minds on getting shot
CNN
Now playing
03:31
Study: Conservative media drove belief of Covid-19 conspiracies
The US Capitol building is seen below an overcast sky on Capitol Hill in Washington, DC on April 29, 2021. (Photo by Samuel Corum / AFP) (Photo by SAMUEL CORUM/AFP via Getty Images)
Samuel Corum/AFP/Getty Images
The US Capitol building is seen below an overcast sky on Capitol Hill in Washington, DC on April 29, 2021. (Photo by Samuel Corum / AFP) (Photo by SAMUEL CORUM/AFP via Getty Images)
Now playing
02:36
CIA briefing on suspected energy attacks turned contentious
AFP/Getty Images
Now playing
02:00
Liz Cheney hits back at Trump: 2020 election was not stolen
CNN's Sunlen Serfaty speaks with voters in Virginia to gauge their responses to President Joe Biden's multi-trillion dollar infrastructure and jobs plans.
CNN
CNN's Sunlen Serfaty speaks with voters in Virginia to gauge their responses to President Joe Biden's multi-trillion dollar infrastructure and jobs plans.
Now playing
03:33
Virginia voters react to Biden's $4 trillion economic pitch
CNN
Now playing
03:00
Avlon on GOP divide: This is a fight between truth and lie
CNN
Now playing
01:30
Former GOP candidate: This is sad commentary on the party
Now playing
05:05
GOP leader's 'head-spinning' comments show Trump's hold on party
(CNN) —  

Former President Donald Trump and former first lady Melania Trump received the Covid-19 vaccine at the White House in January, a Trump adviser told CNN on Monday.

It was not immediately clear which vaccine or how many doses each had received.

The revelation comes after the former President urged his followers to get vaccinated for the virus during his speech at the Conservative Political Action Conference in Orlando, Florida, on Sunday, telling the audience, “How unpainful that vaccine shot is, so everybody go get your shot.” That encouragement marked a notable shift as Trump, during his time in office, had long dismissed the gravity of the virus and eschewed practices like social distancing and mask wearing.

CNN previously reported that a White House official had said in mid-December that Trump wouldn’t be administered a coronavirus vaccine until it was recommended by the White House medical team.

The official said at the time that Trump was still receiving the benefits of the monoclonal antibody cocktail he was given during his recovery from Covid-19 earlier in the fall, when both he and the first lady had tested positive for the virus.

Trump’s decision to quietly receive the vaccine, without public fanfare, contrasts sharply with his successor and predecessors. President Joe Biden and Vice President Kamala Harris were each vaccinated on live television in December, and former Presidents Barack Obama, George W. Bush and Bill Clinton volunteered in December to get their Covid-19 vaccines on camera to promote public confidence in the vaccine’s safety.

Former President Jimmy Carter has also been inoculated against the virus.

During his CPAC speech, Trump, who oversaw the rapid development of coronavirus vaccines through the Operation Warp Speed task force, said his administration deserves much of the credit for the current pace of vaccinations in America and repeatedly referred to Covid-19 using a racist term. “Never let them forget this was us. We did this,” he said of the vaccine development.

The former President’s speechwriting team from his days at the White House had returned to duty to assist him in drafting his Sunday address to the conference, an adviser told CNN on Monday. Among those speechwriters was Trump’s former top domestic policy adviser, Stephen Miller.

Trump’s remarks on vaccine development ran counter to CNN reporting in January that Biden and his advisers weren’t inheriting any coronavirus vaccine distribution plan from the Trump administration.

In the immediate hours following Biden being sworn into office on Wednesday, sources with direct knowledge of the new administration’s Covid-related work told CNN one of the biggest shocks that the Biden team had to digest during the transition period was what they saw as a complete lack of a vaccine distribution strategy under Trump, even weeks after multiple vaccines were approved for use in the United States.

This story has been updated with additional reporting.

CNN’s Maeve Reston, MJ Lee and Paul LeBlanc contributed to this report.