A man convicted of injuring an officer with a homemade explosive at a 2023 campus protest over transgender rights at the University of Pittsburgh has been sentenced to five years in prison.