Washington (CNN) Rep. Seth Moulton ended his presidential bid on Friday during a speech at the Democratic National Committee summer meeting in San Francisco, closing out a campaign in which he failed to get traction or make this year's Democratic debates.

"Today, I want to use this opportunity, with all of you here, to announce that I am ending my campaign for president," Moulton said at the DNC meeting. "Though this campaign is not ending the way we hoped, I am leaving this race knowing that we raised issues that are vitally important to the American people and our future."

Moulton, a Marine veteran and three-term congressman who represents Boston's northern suburbs, told the audience that he plans to run for reelection to Congress and relaunch Serve America, a PAC that looks to elect Democrats with service backgrounds.

"I will continue to fight for a new generation of leadership in our party and our country," he said. "And ​most of all, I will be ​campaigning my ass off​ for whoever wins our nomination in 2020."

Photos: Former presidential candidate Seth Moulton Photos: Former presidential candidate Seth Moulton US Rep. Seth Moulton arrives for a meeting on Capitol Hill in November 2018. He has been in Congress since 2015. Hide Caption 1 of 14 Photos: Former presidential candidate Seth Moulton Moulton was born in Salem, Massachusetts, on October 24, 1978. He posted this baby photo to Facebook, calling it his "big head" phase. "Is this what a new generation of leadership looks like?" he joked. Hide Caption 2 of 14 Photos: Former presidential candidate Seth Moulton Moulton, right, served four tours in Iraq while with the US Marine Corps, and he received a Bronze Star with valor for heroic actions in combat. "The greatest honor of my life was to lead these men in my platoon, even though it was a war that I and they disagreed with," he told The Boston Globe in 2014. Hide Caption 3 of 14 Photos: Former presidential candidate Seth Moulton Moulton speaks at a Democratic caucus in Salem, Massachusetts, in March 2014. After leaving the Marine Corps, Moulton earned master's degrees in business and public policy from Harvard Business School and the Harvard Kennedy School, Harvard is also where he earned his undergraduate degree before he entered the military. Hide Caption 4 of 14 Photos: Former presidential candidate Seth Moulton Vice President Joe Biden salutes a member of the audience as he campaigns with Moulton in October 2014. Hide Caption 5 of 14 Photos: Former presidential candidate Seth Moulton Moulton celebrates his election victory in November 2014. He was unopposed in 2016 and re-elected in 2018. Hide Caption 6 of 14 Photos: Former presidential candidate Seth Moulton Moulton is joined by his future wife, Liz, at an event in Boston in May 2017. The two were married later that year. Hide Caption 7 of 14 Photos: Former presidential candidate Seth Moulton Moulton speaks during a Bipartisan Working Group meeting in July 2017. Hide Caption 8 of 14 Photos: Former presidential candidate Seth Moulton Moulton and his wife, Liz, in a photo he posted to Facebook in January 2018. Hide Caption 9 of 14 Photos: Former presidential candidate Seth Moulton Moulton shakes hands with House Speaker Nancy Pelosi during his ceremonial swearing-in this year. Moulton in the past has tried to oust Pelosi from House Democratic leadership. But this time, he voted for her speakership. Hide Caption 10 of 14 Photos: Former presidential candidate Seth Moulton Moulton poses with US Rep. John Lewis, a civil rights icon, in Selma, Alabama, in March 2019. "After 54 years, John Lewis is still walking across Edmund Pettus Bridge in the name of freedom and equality," Moulton said on Facebook. "Today I was proud to walk with him." Hide Caption 11 of 14 Photos: Former presidential candidate Seth Moulton Moulton speaks with a veteran during a campaign stop in Manchester, New Hampshire, in April 2019. Hide Caption 12 of 14 Photos: Former presidential candidate Seth Moulton Moulton holds his daughter, Emmy, before a town-hall event in Newburyport, Massachusetts, in May 2019. Emmy is his only child. Hide Caption 13 of 14 Photos: Former presidential candidate Seth Moulton Moulton speaks in Atlanta during his CNN town hall in June 2019. Hide Caption 14 of 14

Moulton entered the race later than most -- in late April -- and failed to catch on with more than 20 Democrats vying to take on President Donald Trump.

Read More