The House passed legislation Thursday to increase criminal penalties against people who murder or attempt to murder a police officer or other first responders.

The Thin Blue Line Act passed in a 271-143 bipartisan vote, with the support of a few dozen Democrats and nearly every Republican. If enacted, it would change federal criminal law to trigger death penalty considerations for those who kill or attempt to kill a police officer, firefighter, or other first responder. It would also cover federal, state, and local officials.

Rep. Vern Buchanan, R-Fla., originally introduced the bill in January, and 21 fellow Republican members signed on as co-sponsors. No Democrats co-sponsored the bill.

"These vicious attacks against police must end," Buchanan said in a statement when he introduced the bill. "My legislation sends a strong message to those who target police – you will be held accountable."

The act was one of a handful measures brought up during National Police week, which President Trump honored by lighting the White House blue on Monday night.