A Buffalo man will spend up to a year in jail for attacking a woman on the Kensington Expressway, Cheektowaga police announced Tuesday.

Rafael A. Martinez, 56, who pleaded guilty to strangulation and obstruction of breathing, was sentenced Monday by Town Justice Paul Piotrowski.

According to police, Martinez was riding in a car driven by his 48-year-old girlfriend last December. Martinez pressed on the accelerator with his hand, causing the vehicle to speed up, but the 48-year-old woman put the car in neutral and managed to stop it on the Thruway overpass.

When the car stopped, Martinez used a scarf to choke her until she almost lost consciousness, police said. She managed to get out of the car and tried to call police, but Martinez jumped on top of her and tried to throw her into traffic, then over the guard rail.

Cheektowaga Officers William Cookfair and Mark Fatta arrived and arrested Martinez, who originally was charged with strangulation, assault, criminal mischief and reckless endangerment.