Madrid - A court in Bolivia imposed a 17-year prison sentence on a Bolivian man for abducting a ten-year old Moroccan girl living in Spain and holding her detained for 7 months, Spanish national TV TVE reported.