49ers GM Lynch joins team on field during Black national anthem

49ers stand during "Lift Every Voice and Sing"

The 49ers took the field for the playing of "Lift Every Voice and Sing" and "The Star-Spangled Banner" before Sunday's season opener at Levi's Stadium, while the Arizona Cardinals remained in their locker room for both songs.

General manager John Lynch joined the 49ers on the field during the former, as the team stood in an end zone while a video with the messages "It Takes All Of Us" and "End Racism" played. Those messages were also painted in both end zones.

The 49ers moved to their sideline for the playing of the national anthem, as receiver Richie James and running back Jerick McKinnon knelt while it was played. The Cardinals didn't take the field until after the anthem ended.

RELATED: 49ers sights and sounds from stadium before eerie opener

The Cardinals joined a handful of teams that stayed in their locker room as "The Star-Spangled Banner" played in Week 1. The Houston Texans on Thursday and Miami Dolphins were not on the field as either song played, while the Green Bay Packers, Philadelphia Eagles, New York Jets, Buffalo Bills and Jacksonville Jaguars remained in their locker room during the national anthem.

Former 49ers quarterback Colin Kaepernick first sat, then knelt, during the playing of "The Star-Spangled Banner" in protest of police brutality and systemic racism four years ago. Indianapolis Colts coach Frank Reich and players on the Carolina Panthers, Chicago Bears, Seattle Seahawks, Detroit Lions and Minnesota Vikings took a knee during the anthem on Sunday.