A man who admitted setting a Virginia councilman on fire last year was sentenced to 40 years in prison on Thursday.