A teen driver has been convicted of homicide in a texting-while-driving court case.

The dangers of texting while driving were on full display on Wednesday in a Massachusetts courtroom when an 18-year-old driver was convicted of vehicular homicide for a fatal car crash that was caused by distracted driving.

Aaron Deveau was found guilty of vehicular homicide on Wednesday for a February 20, 2011 car crash that claimed the life Donald Bowley and seriously injured Bowley's front-seat passenger, Luz Roman. Deveau was also convicted on charges of texting while driving and negligent operation of a motor vehicle.

Prosecutors says Deveau was was texting while driving on February 20, causing the teen to swerve across the center line. Deveau hit Bowley's car head on.

Bowley, 55, was rushed to the hospital, but the father of three died of a head injury sustained in the crash on March 10. Roman, 59, continues to deal with injuries caused by the crash, according to CNN.

Judge Stephen Abany sentenced Deveau to two and a half years on the homicide charge and two years for texting while driving and negligent operation of a motor vehicle. The teen will serve one year concurrently for both charges and will lose his license for 15 years.

"There are no winners today," Essex County District Attorney Jonathan Blodgett said in a statement. "A beloved grandfather is dead. A once active woman can no longer work and is still racked with pain from her injuries and a young man is going to jail. When we get behind the wheel of a car, we are obligated to drive with care. ... As we saw in this case, in a split second, many lives are forever changed."

Texting while driving has become a hot topic both on the state and federal level, with the outcome of this case likely to spur further legislation.