Guns stocks are tumbling and prison stocks are soaring after Donald Trump won the presidential election.

Corrections Corp. of America CXW, -0.36% was the biggest percentage gainer listed on the New York Stock Exchange Wednesday, with shares closing up 43%. Shares of Geo Group GEO, -1.55% , which has corrections and other facilities in North America and abroad, closed up 21%.

The gain Wednesday marked the biggest one-day percentage gain for the company since June 2000.

The Obama administration in August announced plans to phase out some private prison use, which potentially could be reversed in a Trump administration.

By comparison, the S&P 500 SPX, -1.86% was 1% Wednesday, and it has gained 3.5% so far this week.

Meanwhile, shares of gun maker Sturm, Ruger & Co. Inc. RGR, -4.02% closed down 14.5% . Smith & Wesson Holding Corporation US:SWHC shares closed down 15%.

Gun sales ticked up after of President Obama’s elections on concerns that laws around gun control would become more restrictive, said Chris Krueger, senior research analyst at Lake Street Capital. Now he believes gun buyers are more confident that Trump will protect gun-carry laws, so they’re not rushing out to buy them, leading to a drop in the stock, he said.

In California, voters passed a ballot measure that tightened gun-control laws in the state. Washington state residents voted to restrict access to firearms for people that have been deemed by a court to be a threat. Nevada residents voted to expand background checks for gun purchases.

Krueger said these initiatives were somewhat expected, which is why the stocks don’t seem to be reacting much to them. Additionally, he said gun enthusiasts are bullied by the prospect of a pro-gun nominee appointed to the Supreme Court by Trump.

“I think today it’s more about the presidential election than the gun-control initiatives,” Krueger said.