Devidas Pilypas (22) pleaded guilty to two counts of endangerment and one of dangerous driving