Former Maryland Gov. Martin O'Malley, right, and moderator Jose Antonio Vargas, left, listen to Tia Oso, the National Coordinator for the Black Immigration Network, during an interruption to O'Malley's speech at the Netroots Nation 2015 Presidential Town Hall with at the Phoenix Convention Center July 18, 2015 in Phoenix, Arizona.
Charlie Leight/Getty Images
Former Maryland Gov. Martin O'Malley, right, and moderator Jose Antonio Vargas, left, listen to Tia Oso, the National Coordinator for the Black Immigration Network, during an interruption to O'Malley's speech at the Netroots Nation 2015 Presidential Town Hall with at the Phoenix Convention Center July 18, 2015 in Phoenix, Arizona.
Now playing
03:11
Democratic presidential candidates under pressure at liberal event
being moody trump and other presidents on vacation orig tc cm_00012626.jpg
being moody trump and other presidents on vacation orig tc cm_00012626.jpg
Now playing
01:51
A brief history of presidential vacations
FILE - In this June 27, 2012, file photo, Donald Trump stands on the 14th fairway during a pro-am round of the AT&T National golf tournament at Congressional Country Club in Bethesda, Md. A set of golf clubs that Trump gifted to a former caddie before becoming president is being auctioned off. Boston-based RR Auction says Trump used the TaylorMade RAC TP ForgedIrons clubs at the Trump National Golf Club in Bedminster, New Jersey. (AP Photo/Patrick Semansky, File)
Patrick Semansky/AP
FILE - In this June 27, 2012, file photo, Donald Trump stands on the 14th fairway during a pro-am round of the AT&T National golf tournament at Congressional Country Club in Bethesda, Md. A set of golf clubs that Trump gifted to a former caddie before becoming president is being auctioned off. Boston-based RR Auction says Trump used the TaylorMade RAC TP ForgedIrons clubs at the Trump National Golf Club in Bedminster, New Jersey. (AP Photo/Patrick Semansky, File)
Now playing
03:11
What Trump's golf game tells us about him
being moody politicon orig GR_00003015.jpg
being moody politicon orig GR_00003015.jpg
Now playing
02:24
A political conference like no other
Donald Trump has made building a wall along the border with Mexico a centerpiece of his presidential campaign. He'd have to go through Washington first.
Alexander Rosen/CNN
Donald Trump has made building a wall along the border with Mexico a centerpiece of his presidential campaign. He'd have to go through Washington first.
Now playing
05:58
Being Moody: How a bill becomes a wall
Jeremy Moorhead / CNN
Now playing
04:03
NAACP members on civil rights under Trump
Jeremy Moorhead / CNN
Now playing
04:19
Libertarians meet, talk Trump at 'FreedomFest'
Now playing
04:59
Comedian forced to flee his homeland
Florida Puerto Rican vote I-4 Being Moody Election 2016 AR ORIGWX_00001806.jpg
Florida Puerto Rican vote I-4 Being Moody Election 2016 AR ORIGWX_00001806.jpg
Now playing
02:53
Florida's Puerto Ricans could pick the next president
being moody florida 2016 origwx js_00024508.jpg
CNN
being moody florida 2016 origwx js_00024508.jpg
Now playing
03:40
Being Moody: 2016 in Florida, from Cubans to Crackers
Processed with VSCOcam with f2 preset
Alexander Rosen / CNN
Processed with VSCOcam with f2 preset
Now playing
03:51
Searching for the American Dream in Bernie Sanders' Utopia
"Tex," a hulking cowboy on the outskirts of Stratford, Texas, in the panhandle.
Jeff Simon/CNN
"Tex," a hulking cowboy on the outskirts of Stratford, Texas, in the panhandle.
Now playing
04:00
Being Moody: The most conservative area in the country
The Presidential Debate We Deserve origwx AR_00014204.jpg
The Presidential Debate We Deserve origwx AR_00014204.jpg
Now playing
02:16
Being Moody : The Presidential Debate We Deserve
The State of the Union Address as a Wes Anderson film
The State of the Union Address as a Wes Anderson film
Now playing
03:51
The State of the Union Address as a Wes Anderson film
Being Moody Vic Berger Twitter Tattoo Jeb Bush Election 2016 AR ORIGWX_00012410.jpg
Youtube.com/victheiv
Being Moody Vic Berger Twitter Tattoo Jeb Bush Election 2016 AR ORIGWX_00012410.jpg
Now playing
03:37
The best prank of the presidential campaign yet
The government allows this dangerous sport once a year
CNN
The government allows this dangerous sport once a year
Now playing
02:28
Being Moody: The government allows this dangerous sport once a year
Election Gambling Being Moody AR ORIGWX_00002729.jpg
Alexander Rosen/CNN
Election Gambling Being Moody AR ORIGWX_00002729.jpg
Now playing
02:21
Should the U.S. allow gambling on elections?
Phoenix CNN —  

Democratic presidential candidate Martin O’Malley apologized on Saturday for saying “All lives matter” while discussing police violence against African-Americans with liberal demonstrators.

Several dozen demonstrators interrupted the former Maryland governor while he was speaking here at the Netroots Nation conference, a gathering of liberal activists, demanding that he address criminal justice and police brutality. When they shouted, “Black lives matter!” a rallying cry of protests that broke out after several black Americans were killed at the hands of police in recent months, O’Malley responded: “Black lives matter. White lives matter. All lives matter.”

The demonstrators, who were mostly black, responded by booing him and shouting him down.

RELATED: Demonstrators take over Democratic presidential candidate forum

Later that day, O’Malley apologized for using the phrase in that context if it was perceived that he was minimizing the importance of blacks killed by police.

“I meant no disrespect,” O’Malley said in an interview on This Week in Blackness, a digital show. “That was a mistake on my part and I meant no disrespect. I did not mean to be insensitive in any way or communicate that I did not understand the tremendous passion, commitment and feeling and depth of feeling that all of us should be attaching to this issue.”

Judith Butler, a philosopher at the University of California, Berkeley, recently explained why some find it offensive to respond to the “Black Lives Matter” movement with the “all lives matter.”

“When some people rejoin with ‘All Lives Matter’ they misunderstand the problem, but not because their message is untrue. It is true that all lives matter, but it is equally true that not all lives are understood to matter, which is precisely why it is most important to name the lives that have not mattered, and are struggling to matter in the way they deserve,” Butler said in an interview with The New York Times. “If we jump too quickly to the universal formulation, ‘all lives matter,’ then we miss the fact that black people have not yet been included in the idea of ‘all lives.’”

O’Malley isn’t the first Democrat to come under fire for the remark. Hillary Clinton was criticized in June for doing the same thing.