A 20-year-old Lansing man who pleaded guilty to spray-painting graffiti at the state Capitol has been sentenced to two years' probation.