People arrive at MacArthur Elementary looking for family and friends as the school is being used a re-unification center during the aftermath of a shooting at the Walmart in the Cielo Vista Mall area Saturday, Aug. 3, in El Paso. (Via OlyDrop)
Xxx Walmart Shooting 001 Jpg Usa Tx
PHOTO: Briana Sanchez/El Paso Times/Imagn
People arrive at MacArthur Elementary looking for family and friends as the school is being used a re-unification center during the aftermath of a shooting at the Walmart in the Cielo Vista Mall area Saturday, Aug. 3, in El Paso. (Via OlyDrop) Xxx Walmart Shooting 001 Jpg Usa Tx
Now playing
02:58
At least 20 dead in El Paso shooting
Tiger crash
PHOTO: KABC
Tiger crash
Now playing
03:38
Video shows Tiger Woods accident scene near Los Angeles
Now playing
03:20
Avlon on Ron Johnson: Hyperpartisan denial is a hell of a drug
PHOTO: KCAL/KCBS
Now playing
01:37
Official details speaking with Woods in moments following accident
Trump supporters clash with police and security forces as people try to storm the US Capitol on January 6, 2021 in Washington, DC. Demonstrators breeched security and entered the Capitol as Congress debated the 2020 presidential election Electoral Vote Certification.
PHOTO: Brent Stirton/Getty Images
Trump supporters clash with police and security forces as people try to storm the US Capitol on January 6, 2021 in Washington, DC. Demonstrators breeched security and entered the Capitol as Congress debated the 2020 presidential election Electoral Vote Certification.
Now playing
04:34
This is what we learned from Capitol riot hearing
PHOTO: AFP/Getty Images
Now playing
04:54
Ocasio-Cortez rips Democrat's doubts about Biden nominee
Then-President Donald Trump addresses supporters during a Make America Great Again rally in Erie, Pennsylvania, October 20, 2020.
PHOTO: SAUL LOEB/AFP/Getty Images
Then-President Donald Trump addresses supporters during a Make America Great Again rally in Erie, Pennsylvania, October 20, 2020.
Now playing
02:44
What Trump's released tax records mean for DA's criminal case
Now playing
06:49
Here's why Ted Cruz flying to Cancun was *so* bad
From left, President Joe Biden, First Lady Jill Biden, Vice President Kamala Harris and her husband Doug Emhoff, bow their heads during a ceremony to honor the 500,000 Americans that died from COVID-19, at the White House, Monday, Feb. 22, 2021, in Washington. (AP Photo/Evan Vucci)
PHOTO: Evan Vucci/AP
From left, President Joe Biden, First Lady Jill Biden, Vice President Kamala Harris and her husband Doug Emhoff, bow their heads during a ceremony to honor the 500,000 Americans that died from COVID-19, at the White House, Monday, Feb. 22, 2021, in Washington. (AP Photo/Evan Vucci)
Now playing
05:45
Biden leads nation in mourning 500,000 US Covid-19 deaths
PHOTO: NASA
Now playing
01:15
Watch the Perseverance rover's first footage of Mars
donald trump juicio politico violencia capitolio presidente eeuu gobierno senado aristegui mexico roberto izurieta republicanos democratas_00002909.png
donald trump juicio politico violencia capitolio presidente eeuu gobierno senado aristegui mexico roberto izurieta republicanos democratas_00002909.png
Now playing
02:48
Supreme Court allows release of Trump tax returns
trump impuestos fiscal nueva york eeuu corte suprema investigacion dusa juan carlos lopez_00021006.png
trump impuestos fiscal nueva york eeuu corte suprema investigacion dusa juan carlos lopez_00021006.png
Now playing
04:06
Trump fires back at Supreme Court ruling in statement
Now playing
02:27
Bash: Cruz looking for Fox News sound bite at Garland hearing
Now playing
04:34
See what has happened to Trump's DC hotel after his loss
Merrick Garland emotional family story obligation vpx_00002927.png
Merrick Garland emotional family story obligation vpx_00002927.png
Now playing
01:16
Merrick Garland was asked why he wants the job. See his emotional response
Medical transporter Adrian Parrilla transports a patient into a COVID-19 unit at Mission Hospital in Mission Viejo, Calif., Friday, Feb. 19, 2021. California
PHOTO: Jae C. Hong/AP
Medical transporter Adrian Parrilla transports a patient into a COVID-19 unit at Mission Hospital in Mission Viejo, Calif., Friday, Feb. 19, 2021. California's virus cases, infection rates, and hospitalizations have dropped precipitously after reaching record highs in early January. (AP Photo/Jae C. Hong)
Now playing
03:47
US passes 500,000 Covid-19 deaths
Hayden A. Smith, 17, is a plane spotter and photographer and took this photo of UAL Flight 328 on Saturday, February 20, as it flew overhead in Aurora, Colorado.
PHOTO: Hayden A. Smith
Hayden A. Smith, 17, is a plane spotter and photographer and took this photo of UAL Flight 328 on Saturday, February 20, as it flew overhead in Aurora, Colorado.
Now playing
02:22
United Airlines pulls Boeing 777s following engine fire
Now playing
01:31
Lara Trump: Donald Trump may run in 2024 and beyond
(CNN) —  

A series of new firearm laws go into effect in Texas on Sunday, just hours after a shooting left seven people dead in the western part of the state.

The laws will further loosen gun restrictions in a state that’s had four of the 10 deadliest mass shootings in modern US history, including the El Paso shooting last month, when a gunman stormed a Walmart and killed 22 people.

The new measures were all passed during the 2019 legislative session, which ended in June.

Here are the sweeping firearm laws going into effect:

Weapons on school grounds

House Bill 1143 says a school district cannot prohibit licensed gun owners, including school employees, from storing a firearm or ammunition in a locked vehicle on a school parking lot – provided they are not in plain view.

Kris Brown, president of gun violence prevention advocacy group Brady, criticized the bill going into effect September 1.

“Many states took the opportunity in the last two years to learn lessons from the tragedies in Las Vegas, Sutherland Springs, Parkland, and the every day gun violence that plagues our citizens, and enacted new laws to protect public safety through expanded background checks and extreme risk laws,” Brown said.

“Texas lawmakers, instead … doubled down on an NRA led agenda to encourage guns everywhere, no matter the risks and costs to safety.”

Marshals at schools

House Bill 1387 loosens restrictions on how many armed school marshals a school district can appoint.

Guns in foster homes

House Bill 2363 allows some foster homes to store firearms and ammunition in a safe and secure place for personal protection. Proper storage must be followed, the bill says, including putting firearms and ammunition together in the same locked locations.

Weapons in apartments

House Bill 302 bans homeowners or landlords of rental property from prohibiting residents from lawfully possessing, carrying, transporting or storing a firearm or ammunition in the property.

Handguns during a disaster

House Bill 1177 prohibits residents from being charged with a crime for carrying a handgun while evacuating from a state or local disaster area.

Firearms in places of worship

Senate Bill 535 clarifies the possession of firearms at churches, synagogues or other places of worship. It allows licensed handgun owners to legally carry their weapons in places of worship – and comes nearly two years after a gunman killed 26 people at Sutherland Springs church.

“We have learned many times over that there is no such thing as a gun free zone. Those with evil intentions will violate the law and carry out their heinous acts no matter what,” state Sen. Donna Campbell, co-sponsor of the bill, said in a statement. “It makes no sense to disarm the good guys and leave law-abiding citizens defenseless where violent offenders break the law to do great harm.”

The bill will make things clearer, she said.

“The existing statute is confusing and clunky when it comes to clearly stating the rights of licensed Texans to carry on the premises of a church. This bill provides clarity of the Legislature’s intent to treat churches in the same manner as other privately owned establishments in Texas.”