In spite of several miscues, Brother Martin-based Peake BMW survived.

Peake BMW staved off elimination in the American Legion state tournament on Blair Frederick’s game-winning double in the bottom of the ninth inning to oust Townsend Homes 6-5 on Sunday at Kirsch Rooney Stadium.

“I knew (Nick Scioneaux) was going to come with a fastball,” said Frederick, who smacked a ball into the right-center field alley. “He was behind in the count at 2-1. He threw a fastball inside and I was able to make solid contact on it and, fortunate for us, it found a gap.”

It was redemption of sorts for Frederick, who surrendered four runs in 2.2 innings in Peake’s 8-1 loss to Shaw-based Refuel on Saturday night.

“He stays focused,” Peake BMW coach Mark Wisniewski said. “We tell him all the time that he needs to have a short memory. He showed that. He’s professional about everything and demonstrates that, so we’re happy he was the guy that got the hit to propel us.”

Frederick, an LSU commitment, tallied a game-high two RBIs. Ben Wisniewski added another RBI and Lance Miller closed the game for Peake, tossing two scoreless innings.

Peake BMW advances to play the loser of Sunday night’s Jesuit-based Retif Oil-Delhomme Drillers game on Monday afternoon. It’s slated to start 35 minutes after the end of Monday’s 1 p.m. contest.

“Shake it off,” Frederick said. “That’s the message coach delivered before the game. Tomorrow is a new day. Come out and do what you know how to do.”

Ahead 4-1 after a two-run double from Alex Guidry, Peake BMW stumbled. Townsend Homes’ Brandon Lemoine scored on an errant throw before Trevor Arceneaux stole home on a misplayed rundown that cut the lead to 4-3 in the top of the sixth.

Though Peake BMW added another run in the ensuing half, Townsend Homes tied the game at 5-5 with back-to-back groundout RBIs in the top of the seventh.

The game remained deadlocked until Frederick brought home Andre Roevens, who reached base on a walk in the bottom of the ninth inning.

“We put ourselves in a bad position. We hit a batter, hit another batter, throw a wild pitch and all of a sudden they’re back into the game,” Wisniewski said.

“It comes back to: make them earn it instead of giving it to them. We settled in a bit, played solid defense the remainder of the way, pitched better and got the job done. It’s about competing. You have to continue to compete no matter what happens.”