Drug plea brings nine-year prison sentence