The Hannibal Hoots battled back from a four-run deficit but gave up a walk-off hit to Terre Haute in a 5-4 loss Friday night.

Jordan Humphries picked an opportune time Friday to hit his first home run of the summer for the Hannibal Hoots.

The Southern Illinois University-Edwardsville product drilled a three-run homer on a full count with two outs in the seventh inning to put Hannibal on the board.

“Jordan sparked our offense and got us going,” Hannibal manager Clayton Hicks said.

But the game-changing swing still wasn't enough.

After blowing a 4-0 lead, Terre Haute treated its home crowd to a walk-off win in the ninth when Austin Weiler hit a two-out single to help the Rex secure a 5-4 win.

Connor Pasko doubled home Tommy Kraus for the Hoots in the eighth to tie the score at four before Terre Haute (8-2) sent Hannibal (3-7) to its third consecutive loss.

The Hoots couldn't find an answer for Rex starter Logan Teague, who limited the visitors to three hits over 5 1/3 shutout innings. 

Hannibal recorded six hits overall and stranded 10 runners on base.

Five Rex players had multi-hit games, while the Hoots' six hits came from six different batters.

Clayton Slifer took the loss for Hannibal, allowing one run over 1 2/3 innings of relief.

Hannibal threw out a Rex runner at the plate for the second out in the bottom of the ninth before the walk-off single. 

The Hoots are scheduled to host Danville at 3:05 p.m. on Sunday. 

“I'm proud of the strides this team continues to make,” Hicks said. “I feel confident that this team is starting to get comfortable and good things are ahead.”