9Wants to Know has learned the Colorado State trooper killed Friday when a semi-truck drifted to the side of the road where he was working just came back to work the highway three weeks before it happened.

Trooper Cody Donahue, an 11-year veteran of CSP, used to work with Trooper Jaimie Jursevics out of the Castle Rock office.

Jurservics was killed by a drunk driver in November 2015.

After that crash, Donahue went on to fill a temporary position at the State Capitol.

PREVIOUS STORY: Trooper hit, killed by truck was on shoulder of I-25

PREVIOUS STORY: CSP trooper killed in crash on I-25, arrest made

9Wants To Know has learned Donahue transferred from the Capitol back to the Castle Rock office to work the road on Nov. 1.

He declined a permanent position at the Capitol and wanted to return to the streets, 9Wants To Know has learned.

The semi driver charged with killing Donahue appeared in court for the first time Monday.

Noe Gamez-Ruiz, the 41-year-old driving the truck, was arrested on suspicion of careless driving causing death and failure to yield the right of way to an emergency vehicle. He had been a driver at US Foods for more than 15 years.

Court documents say Gamez-Ruiz crossed the solid white line and hit Donahue, who was standing in the shoulder of the highway.

According to an obituary posted online Monday, Donahue’s funeral service will be held at 11 a.m. Friday at the Denver First Church of Nazarene at 3800 E. Hampden Ave. in Englewood.

In lieu of flowers, memorial contributions can be made in Donahue’s memory to the Flying Wheels Foundation at 15055 S. Golden Rd. in Golden.

A GoFundMe page has been set up for Donahue’s family: http://bit.ly/2fXCUqo.