This paper studies the effects of legislation in Brazil that banned the right to carry guns and provided for a voter referendum regarding whether to ban the sale of all firearms. Using a regression discontinuity design, I find that gun-related homicides decreased by...