North Carolina Gov. Josh Stein vetoed a trio of bills Friday afternoon. Two of them concern immigration, and one would allow concealed carry of a firearm without a permit in the state.

“My oath of office requires that I uphold the Constitution of the United States. Therefore, I cannot sign this bill because it would require sheriffs to unconstitutionally detain people for up to 48 hours after they would otherwise be released,” Stein said of one of the immigration bills.

“The Fourth Circuit is clear that local law enforcement officers cannot keep people in custody solely based on a suspected immigration violation. But let me be clear: anyone who commits a serious crime in North Carolina must be prosecuted and held accountable regardless of their immigration status,” he said.

With the veto of this bill, House Speaker Destin Hall said, Stein sided with the “most radical elements of his party’s base over the safety and security of North Carolinians.”

Latino advocates and other bill opponents had urged Stein to veto both immigration measures. They say the legislation would cause Hispanic residents to feel intimidated and fear law enforcement.

Stein's vetoes help “ensure North Carolina remains a safe state for everyone, including immigrants, who deserve equal treatment under the law," the group El Pueblo said in a news release.

These are the governor’s first vetoes since he took office at the beginning of the year.

The North Carolina General Assembly could try to override the vetoes, but Republicans are one House seat shy of holding a veto-proof majority in both chambers. It requires a three-fifths majority in both the state House and Senate to override a veto. 

The legislation on allowing people to carry concealed weapons without a permit did not pass with enough votes to override a veto.

"The bill eliminates training requirements associated with concealed carry permits and reduces the age to carry a concealed weapon from 21 to 18 years old. Authorizing teenagers to carry a concealed weapon with no training whatsoever is dangerous," the governor said.

"The bill would also make the job of a law enforcement officer more difficult and less safe. We can and should protect the right to bear arms without recklessly endangering law enforcement officers and our people,” he said. 

Conservative advocates for the bill say removing the permit requirement would strengthen the safety of law-abiding citizens.

“Law-abiding North Carolinians shouldn’t have to jump through hoops to effectively exercise their Second Amendment rights," Senate leader Phil Berger said in a press release criticizing the veto and planning for an override vote in his chamber.

Permitless carry is lawful in 29 states, according to the National Conference of State Legislatures. North Carolina would also be one of the last states in the Southeast to implement that legislation.