A California Highway Patrol officer detains a protester on the San Francisco-Oakland Bay Bridge, Monday, Jan. 18, 2016, in San Francisco. A group of protesters from the group Black Lives Matter caused the shutdown of one side of the bridge in a police-brutality protest tied to the Rev. Martin Luther King Jr. holiday. (AP Photo/Noah Berger)
A California Highway Patrol officer detains a protester on the San Francisco-Oakland Bay Bridge, Monday, Jan. 18, 2016, in San Francisco. A group of protesters from the group Black Lives Matter caused the shutdown of one side of the bridge in a police-brutality protest tied to the Rev. Martin Luther King Jr. holiday. (AP Photo/Noah Berger)

A group of demonstrators caused the shutdown of one direction of the San Francisco-Oakland Bay Bridge in a police-brutality protest tied to the Martin Luther King Jr. holiday.

Members of the group stopped vehicles in all the westbound lanes at about 4 p.m. Monday. They chained themselves and the cars together to form a line across the bridge and laid signs reading “BLACK HEALTH MATTERS” across the roadway.

Traffic was blocked for travelers heading into San Francisco as the holiday weekend was ending.

About 30 minutes later, California Highway Patrol officers pulled protesters from cars and pulled their cars out of lanes. Traffic soon began slowly moving again.

The CHP says 25 people were arrested.

Mia Birdsong, a spokeswoman for the protesters, tells the San Francisco Chronicle they were from a group called Black.Seed, an offshoot of the Black Lives Matter movement.