David Babcock was charged with first-degree assault, attempted first-degree assault and endangering the welfare of a child, police said.

At 7:20 p.m., a resident on South Policy Road in Salem reported an intoxicated man came to his door and asked for directions, police said. He also told officer a child was in the man’s truck.

Officers stopped Babcock on Muse Terrace, but Babcock drove away, made a U-turn and drove directly at both officers, police said. Babcock struck one officer, who suffered a non-life-threatening injury to his leg, police said.

Babcock got away, but was taken into custody at 8:30 p.m. after Salem police sent Lowell police information and a description of the truck, which is registered to a woman in Lowell.