A man who killed nine people and wounded 12 in one of the two mass shootings in Serbia last year that shocked the country and triggered the biggest protests in years was found guilty and sentenced on Thursday to 20 years in prison.