A Maryland teen convicted of running over a fellow high school student over a marijuana dispute was sentenced to 25 years in prison on Monday.

Nicholas Kyle Hoffman was 17 when he was charged as an adult with attempted murder in November. Charging documents say the 16-year-old victim was targeted for allegedly stealing marijuana from Hoffman's friend.

Anne Arundel County prosecutors say Hoffman was filmed intentionally speeding into the boy before leaving the scene. Hoffman was "heard uttering a derisive comment indicating a lack of concern for the victim's welfare."

The victim, who hasn’t been identified, survived but was taken to a hospital for possibly life-threatening injuries, according to Patch in Edgewater, Maryland

Hoffman , now 18, was convicted of attempted first-degree murder in August, according to Patch.

In a statement, State's Attorney Wes Adams called it "one of the most callous displays of violence" he'd seen.

“Hoffman laid bare his cruel intent to kill when he deliberately accelerated his vehicle towards a defenseless pedestrian, and memorialized this shocking incident on video,” Adams said in the statement.

He credited prosecutor Mike McGraw on his Facebook page for “securing this sentence and sending this guy to jail.”

Adams noted that originally it was recommended that Hoffman received 10-18 years but he said McGraw argued successfully for 25.

"Everything went so well, I couldn't ask for a better outcome," the victim's mother told Patch. "My son is relieved that he doesn't have to worry about this anymore."

Hoffman’s attorney has disputed the assertion that he showed no remorse.

[Photo: Anne Arundel County Police]

Crime Time is your destination for true crime stories from around the world, breaking crime news, and information about Oxgen's original true crime shows and documentaries. Sign up for our Crime Time Newsletter and subscribe to our true crime podcast Martinis & Murder for all the best true crime content.