A 25-year-old Bakersfield man was killed Wednesday when a car struck him while he was working on a roadway in Madera.

The man, whose name has not been released, was helping with trenching and placement of a fiber-optic line on the southeast corner of Avenue Nine and Road 35 in Madera, according to a news release from the California Highway Patrol.

The man walked across the street to get a shovel. As he started to cross back, Staci Lynn Herzog, 38, of Clovis, was driving toward him at about 50 miles per hour. Herzog saw the man hesitate like he was going stay on that side of the street, according to the news release. But, he then continue to walk across the street.

Herzog applied her brakes and swerved to the left, but hit the man with the right front of her 2003 Lexus IS300, according to the news release. The man was carried a short distance by the car and then thrown off. The car stopped at the intersection of Avenue Nine and Road 35. The man was pronounced dead the scene when paramedics arrived, according to the news release.