Vincent Pastore (search), who played gangster Salvatore "Big Pussy" Bonpensiero (search) on HBO's "The Sopranos," (search) has agreed to plead guilty to a charge that he attempted to assault a former girlfriend last spring.

The plea bargain, which has yet to receive final approval from a judge, calls for Pastore to perform 10 days of community service and attend a counseling program for batterers, lawyers involved in the case told a judge Monday.

Leaving a Manhattan courthouse after the brief hearing, the actor said he was satisfied with the deal.

"I want this to go away. What do you think, I want to die of a heart attack?" he said, adding that he is still recovering from an emergency triple bypass heart surgery performed about two months ago.

"I can't do nude scenes now because of the scar," he said.

Pastore was originally charged with two counts of assault, attempted assault and harassment for allegedly attacking Lisa Regina, 44, in April.

Prosecutors alleged that he punched her in the back of the head, grabbed her hair and forced her head down on a car's gear shift during an argument.

The 59-year-old actor has remained free on bail while the case is pending on the condition that he refrain from contacting Regina.

If convicted, he could have been sentenced to as much as a year in jail.

Pastore's "Sopranos" character was killed early in the series as payback for snitching on the mob.