TYLER -- Longview's Dorian Leonard will play football at Texas in the fall, but he seems to have some unfinished business on the hardwood.

Leonard caught an alley-oop inbounds pass from teammate Travin Howard and kissed it off the glass for the game-winning shot in the final seconds of Longview's 42-41 District 12-5A victory at Red Raiders Gymnasium on Tuesday.

Longview's Antwone Anthony (24) brings the ball down the court with Tyler Lee's Rico Major defending. (Christopher Vinn/www.etsn.fm)

"Basically, two people flashed in the lane to occupy the middle," Leonard said. "I trailed (Cadell Williams), and (Travin Howard) just was supposed to just throw it up there, and I went up and got it. It was designed to where (Longview coach Bill Goffney) told me to get it up there fast. So I did."

The win helped Longview (18-10, 6-3) stay afloat in the District 12-5A playoff race, maintaining a three-way tie for second place in the standings entering the day. The loss for Lee (15-10, 3-6) virtually eliminated the Red Raiders from the 2014 playoff picture.

Longview used a 15-4 third quarter to build a seven-point advantage heading into the fourth, but the Lobos slowed their tempo to start the fourth and Lee responded.

Longview's Jordan Whitaker puts up a shot. (Christopher Vinn/www.etsn.fm)

With less than three minutes remaining, Kevin Ramsey and Caleb Johnston hit three-pointers before Ramsey sank two free throws to cap an 8-0 Red Raider run that gave Lee its first lead since halftime, 41-40, with 1:11 left.

Lee had a chance to extend its one-point lead with 18 seconds left, but missed the front end of a 1-and-1. Howard pulled down the board to give Longview one final chance, setting the stage for Leonard's game-winning lob finish in the closing moments.

Williams led Longview way with 12 points, eight rebounds (six offensive), three blocks, and two steals. Teammate Jordan Whitaker chipped in with 11 points and six boards. Longview won the rebounding battle 30-17, including 12 offensive boards.

Ramsey scored a game-high 14 points for Lee, while Johnston added 11 points and five rebounds.

Lee opened a 13-11 lead after one quarter thanks to six points from Ramsey. Lee pushed that lead to as much as six before heading to halftime up  29-25.

District play continues Friday when Longview hosts North Mesquite and Lee visits Mesquite Horn.

Tyler Lee's Kevin Ramsey brings the ball down the court during Tuesday's 42-41 home loss to Longview. (Christopher Vinn/www.etsn.fm)