A man who police said tried to rape a woman in Hunting Park early yesterday ended up in the hospital when his intended victim fought back with a vengeance - and a pocket knife.

Shortly before 3 a.m., the 29-year-old victim, who lives near 9th Street and Hunting Park Avenue, went outside to a park bench to smoke a cigarette, police said.

The woman was approached by David McDonald, 43, who also lives in the area, said Special Victims Unit Capt. John Darby.

McDonald tried to strike up a conversation with the woman and when she refused his advances, he tried to sexually assault her, Darby said.

He tore at her clothes and pummeled her face, but the victim pulled out a pocket knife and stabbed McDonald several times in the abdomen, police said.

He ran off and the woman ran home and called police.

By the time she was taken to Temple University Hospital, her eyes had swollen shut, police said. She was treated for her injuries and released yesterday.

Responding officers found McDonald at 9th Street and Cayuga and took him also to Temple, where he was listed in stable condition. Police also found the woman's ripped clothing at the scene, Darby said.

McDonald was charged with attempted rape, aggravated assault and related offenses, Darby said.