A 41-year-old man was sentenced to 35 years in federal prison Tuesday for throwing two molotov cocktails at his ex-girlfriend's apartment in 2017.