Riley Mahan belted a pinch-hit, inside-the-park homer with two outs in the ninth inning to tie the game, and Greg Fettes ripped a solo home run to open the 11th, lifting the Kentucky baseball team to a wild 12-10 win over No. 1 LSU in in front of 10,732 at Alex Box Stadium in Baton Rouge, La., on Sunday. Kentucky (18-10, 4-5 Southeastern Conference) took two of three from the Tigers (23-5, 5-4 SEC) in the weekend series, marking Kentucky's second all-time series win at LSU and its first since 2007. Kentucky jumped out to an early lead on the strength of a four-run frame in the second that saw the Wildcats chase LSU’s undefeated starting pitcher. The Tigers then chipped away with two runs in the third and scored four in the fifth, getting a pair of homers. LSU added two runs in the seventh inning, before the Wildcats mounted a furious rally with a run in the seventh and four runs in the eighth inning to take a one-run lead. The Tigers then plated two runs after a pair of leadoff hits started the bottom of the eighth inning, taking a 10-9 lead into the ninth. With Kentucky down to its last out, freshman pinch hitter Mahan dropped a sinking liner into shallow left field, with left fielder Jared Foster diving to try to make the play. The ball rolled to the wall, with shortstop Alex Bregman running to the wall and unable to field and make the throw in time to nail the tying run, with Mahan sliding in headfirst under the tag. After scoreless frames in the bottom of the ninth and the 10th inning, Fettes pulled his third homer of the year over the left-field fence, giving UK an 11-10 lead. Marcus Carson then laid down a bunt single and Kyle Barrett was intentionally walked. After Evan White struck out, Ka’ai Tom singled up the middle, allowing Carson to motor home from second for a 12-10 UK lead. The Wildcats collected 19 hits in the game. UK starter Kyle Cody allowed eight hits and six runs -- five earned -- not issuing a walk and striking out three. Cody was dominating until a bad-hop double and his throwing error in the third inning led to the two-run frame. After a shutout fourth, the Tigers had four consecutive hitters reach in the fifth, including two homers and a triple. Dylan Dwyer relieved Cody and worked 1 1/3 innings, allowing a hit and walk, striking out one. Robert Zeigler took over with an out in the seventh inning, getting one out and allowing an unearned run. Zach Strecker got out of the seventh and allowed three hits in the eighth before UK turned to Spencer Jack (1-0), with two runs scoring. Jack worked the final 3 2/3 innings, allowing only a hit, walking two and striking out three. UK will return to action Tuesday, playing host to No. 24 Indiana at 4 p.m. at Cliff Hagan Stadium.