A man convicted in an attack of an elderly woman in a Madison grocery store parking lot was sentenced on Monday.