(New York Times) — State Senator Kevin S. Parker, who faced as much as two years in prison for his role in attacking a staff photographer from The New York Post, was sentenced on Monday to three years’ probation. Prosecutors had sought to put Mr. Parker behind bars for 30 days, followed by 30 days of supervised release. A lawyer for Mr. Parker, Lonnie Hart, had filed papers asking the judge to set aside the verdict, dismiss the indictment and delay sentencing pending an appeal. “This entire prosecution has been about politics,” Mr. Hart told Justice Neil J. Firetog in State Supreme Court in Brooklyn, as he asked for a conditional discharge. Justice Firetog then issued a sentence of probation. He also ordered Mr. Parker, who chose not to speak during the proceeding, to pay $672 in damages to The Post and a $1,000 fine. Mr. Parker, a Brooklyn Democrat, was arrested in May 2009 after a confrontation with the photographer, William C. Lopez, who had been assigned to take photos of him. The senator was initially charged with felony assault, but was found guilty on two misdemeanor counts of criminal mischief.