Man gets 5 years for rape of 9-year-old girl