Anne Hathaway’s ex gets 4 1/2 years in prison