Discuss as:

Boyfriend cleared in car crash that killed Yale graduate Marina Keegan

Ken Mcgagh / AP

Tracy Keegan speaks during a service in for her daughter Marina Keegan, who died in a car crash in May.

The boyfriend of a woman who was killed in a car crash just days after her graduation in May from Yale was cleared of all charges Thursday in a Massachusetts courtroom, NBC station WHDH in Boston reported.

Marina Keegan and her boyfriend Michael Gocksch, both 22, had just graduated a few days earlier from Yale when they were on their way to see Keegan's parents in Cape Cod.

The car they were traveling in drifted into a guardrail after crossing two lanes, causing it to roll over.

Keegan died at the scene; Gocksch was taken to a hospital and released.

'My heart's broken': Yale grad Marina Keegan mourned after car crash

WHDH reported that Gocksch, who’s from New York, told investigators he had fallen asleep at the wheel.

"I’m very happy for that young man because he’s a fine, fine person," Gocksch’s attorney, Philip Tracy Jr., told the station.

Keegan’s death shook the Yale campus where she had served as president of the Yale College Democrats and was part of the Yale Occupy Movement.

An essay she wrote in a special edition of the Yale Daily News, titled "Opposite of Loneliness," was republished in the newspaper and went viral after her death. It was also distributed at the Class of 2012's commencement exercise.

Read Marina Keegan's essay "Opposite of Loneliness"

In it she tells her fellow students to "not lose this sense of possibility because in the end, it’s all we have."

The Boston Herald reported a magistrate ruled there was no probable cause to charge Gocksch with motor vehicle homicide by reckless operation, which state police had sought.

Watch US News videos on msnbc.com

State police said the couple were both wearing seatbelts and the driver wasn't speeding at the time of the accident.

Keegan's work had previously been published in The New York Times and she was slated to start a new job in June as an editorial assistant at The New Yorker.  

The Herald reported Keegan's parents have supported Gocksch and stood by his side in court Thursday.

"He certainly wishes it was him and not her who suffered the fatality," Marina's mother, Tracy Keegan said.

More content from msnbc.com and NBC News:

Follow US News on msnbc.com on Twitter and Facebook