(CNN) California Rep. Eric Swalwell announced Monday he is dropping out of the 2020 race for president, concluding a short-lived bid for the Democratic nomination that failed to gain any traction.

"Today ends our presidential campaign, but it is the beginning of an opportunity in Congress, with a new perspective shaped by the lives that have touched mine and our campaign throughout these last three months, to bring that promise of America to all Americans," Swalwell said, speaking at his campaign headquarters in California.

"To believe that it will be the next generation whose leadership will solve climate chaos, bring cures in our lifetime for health care, address the student loan debt crisis and make sure that we say enough is enough, we don't have to live this way anymore and that we love our children more than we love our guns," he said.

He continued: "I'm fired up to do that work that I've already been doing in the Congress."

Photos: Former presidential candidate Eric Swalwell US Rep. Eric Swalwell attends a committee meeting in May 2017. He has been in Congress since 2013. Hide Caption 1 of 22 Photos: Former presidential candidate Eric Swalwell A baby Swalwell with his parents, Eric and Vicky. When Swalwell was born in 1980, his father was the police chief in Algona, Iowa. Hide Caption 2 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell with his mother, Vicky. Hide Caption 3 of 22 Photos: Former presidential candidate Eric Swalwell In 2017, Swalwell posted this old photo of him and his mom. "Big #happymothersday2017 to my Mom, Vicky, who still cares for me like she's holding me for the first time," Swalwell said on Twitter. Hide Caption 4 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell's high school yearbook photo. He attended Dublin High School in Dublin, California, before getting degrees from the University of Maryland and the University of Maryland School of Law. Hide Caption 5 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell was an intern for US Rep. Ellen Tauscher in 2001 and 2002. Hide Caption 6 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell meets former US Rep. John Anderson in 2001. "John was a moderate Republican who exemplified statesmanship and collaboration," Swalwell tweeted. "I was lucky to meet him in 2001 while interning on the Hill." Hide Caption 7 of 22 Photos: Former presidential candidate Eric Swalwell In 2003, Swalwell and other students from the University of Maryland protest state budget cuts to higher education. Swalwell's beach attire was a reference to Maryland Gov. Robert Ehrlich, who was on vacation at the time. Hide Caption 8 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell was on the Dublin Planning Commission from 2008-2010. Prior to that, he was a deputy district attorney in California's Alameda County. Hide Caption 9 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell served one term on the Dublin City Council. Hide Caption 10 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell and his father campaign for the US House in 2012. Swalwell went on to defeat Pete Stark, a 40-year incumbent. Hide Caption 11 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell winces after drawing No. 61 during the lottery for Capitol Hill offices in November 2012. Hide Caption 12 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell warms up before playing in a charity soccer match in April 2014. Swalwell played soccer for a couple of years in college. Hide Caption 13 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell and other members of Congress talk with young entrepreneurs at an event in New York in April 2015. Hide Caption 14 of 22 Photos: Former presidential candidate Eric Swalwell House Minority Leader Nancy Pelosi and Democratic Whip Steny Hoyer react at a Swalwell joke during a Capitol Hill news conference in March 2017. Hide Caption 15 of 22 Photos: Former presidential candidate Eric Swalwell Swallwell and his son, Nelson, attend the Congressional Baseball Game in June 2018. Swalwell has two children with his wife, Brittany. Hide Caption 16 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell and other Democratic leaders pose for a photo inside the US Capitol in November 2018. Hide Caption 17 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell sleeps with his young daughter, Kathryn. Hide Caption 18 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell speaks in Sunrise, Florida, during a town hall on gun violence in April 2019. Hide Caption 19 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell with his wife, Brittany, and their two children, Nelson and Kathryn. Hide Caption 20 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell takes part in a CNN town-hall event in June 2019. "I'm running for president to stop the shootings," he told the crowd. Swalwell discussed his frustration with lawmakers' inaction. "When I went to Congress, Sandy Hook happened. And there was nothing. Then Charleston: Nothing. San Bernardino: Nothing," he said, before ticking off one mass shooting after another. Hide Caption 21 of 22 Photos: Former presidential candidate Eric Swalwell Swalwell participates in the first Democratic debates in June 2019. The high point of his campaign was likely his direct and blunt challenge to former Vice President Joe Biden during the debates. He noted that he was 6 years old when Biden came to the California Democratic convention and said "it's time to pass the torch to a new generation of Americans." Swalwell said Biden "was right when he said that 32 years ago. He is still right today." Hide Caption 22 of 22

Swalwell's exit from the 2020 race will make him the first candidate to drop out since the campaign began in earnest.

Read More