A “selfless” 26-year-old Kansas man drowned while trying to rescue a stranger from a Missouri river.

Jacob Farley of Wichita died Friday when he jumped in to save the woman, identified as Madison Capps, near the Show Me State’s Elk River Dam, news station KOAT reported.

“I will never forget the sacrifice you made,” Capps posted on Facebook. “May your soul rest in peace.”

For around a half-hour, Farley and Capps attempted to stay afloat in the rough waters as they waited for emergency responders, according to the news station.

“I felt his hand on my back as I tried to get on my floatie after going under,” Capps said. “Just having him be there next to me meant a lot. Without him there, I don’t think I would have been able to hold on as long as I did.”

Firefighters were able to rescue Capps using a rope, but Farley was swept under by the current.

“He didn’t think twice about jumping in to save a complete stranger,” a GoFundMe page launched to raise money for his funeral said. “He is a true hero and died saving someone else’s life with no regard for his own.”

He leaves behind a 3-year-old son named Kingston, and remaining funds will go to the child’s education, the page says.

“Jacob was selfless and brave and he lived his life the same way he lost it — helping others,” it reads.