Former congressman Beto O’Rourke on Thursday confirmed he was committed to a mandatory buyback of weapons such as AK-47 and AR-15 rifles if elected president.

O’Rourke has been outspoken about stricter gun-control measures since a gunman opened fire in a Walmart and killed 22 people in his hometown of El Paso last month.

“If it’s a weapon that was designed to kill people on a battlefield, if the high-impact, high-velocity round when it hits your body shreds everything inside of your body because it was designed to do that, so that you would bleed to death on a battlefield not be able to get up and kill one of our soldiers,” O’Rourke said on the debate stage. “When we see that being used against children… hell, yes, we’re going to take your AR-15, your AK-47.”