A California Highway Patrol officer was trying to get a man to stop walking along a center divider on the 10 Freeway in Los Angeles when a vehicle struck her Monday morning, authorities said.

The 30-year-old officer suffered major injuries after responding to the call about a man on the freeway at around 7:15 a.m., according to CHP. The man was reported to be walking on the westbound 10 Freeway, KTLA reports.

When the officer arrived, the man ignored her commands and jumped over the center divider wall, running through the eastbound lanes of the 10 Freeway as he fled from her, officials said.

She ran after the man to get him safely off the freeway, officials said. But before she could get to him, a vehicle traveling in the #1 lane of the eastbound freeway hit her, according to CHP.