When a cross country runner saw a teen on an opposing team veer off-course during a race, he knew he had to help him cross the finish line.

Evan Hansen is a sophomore at City High School in Cedar Rapids, Iowa. He was competing at a cross country meet when he spotted runner Adam Todd, a junior at Washington High School, start to travel off course.

>> Need something to lift your spirits? Read more uplifting news

KCRG reported that Todd has autism and sometimes becomes distracted during meets. He heard an ambulance and started to run towards it to check it out.

When Hansen saw Todd becoming distracted, he grabbed his hand and led him towards the finish line.

"I just felt like it was more important for him to finish the race than me," Hansen told KCRG.

“It was pretty amazing, actually," Hansen said. "I kind of pushed him in front of me when we finished. I wanted him to be in front of me, because he finished it by himself, I’d like to say."

The coaches of both teams say they were moved by their sportsmanship.

"I can't tell you the immense pride I felt," City High Coach said Jayme Skay said. "You coach 20, 30 years and it's moments like that that make it all worth it."

Watch the heartwarming story below.