Man who sexually abused child for years finally jailed