(CNN) -- Tad Cummins, a former Tennessee teacher accused of running off with a 15-year-old student to California, prompting a coast to coast search, has been sentenced to 20 years in prison, officials said.
Cummins pleaded guilty last year to a charge of transportation of a minor across states lines with intent to engage in criminal sexual activities and a second charge of obstruction of justice, the US Attorney's Office said.
The charges carried a maximum sentence of life and 20 years in prison, respectively.
"Today we got justice for a brave victim," Don Cochran, US attorney for the Middle District of Tennessee, told reporters outside a Nashville federal courthouse on Wednesday. "We feel good about it."
Cummins was arrested in April 2017 and the then 15-year-old girl was found safe at a remote cabin in Northern California. They were on the run for 39 days, posing as husband and wife as they traveled some 1,900 miles away from the girl's hometown of Culleoka, Tennessee.
On the day Cummins vanished with the girl, he left a note for his wife saying he was leaving for a while to "clear his head." He took out a $4,500 loan and picked up two prescription refills of Cialis, an erectile dysfunction drug, a criminal complaint states.
Investigators found out that Cummins booked rooms -- in his own name -- at Super 8 motels in Oklahoma City and in Guymon, Oklahoma. Surveillance video also showed the pair at two Walmart stores in Oklahoma, but the trail apparently went cold after that.
Authorities found the two after police received a tip saying they were in a cabin in a heavily wooded area 60 miles south of the Oregon line.
Before their disappearance, the former high school health sciences teacher had been suspended after a student reported seeing him and the 15-year-old kissing in a classroom.