PEABODY — It was a night filled with highlights, especially in the last five seconds of the action packed game between the Peabody and Beverly girls basketball teams.

The Tanners led most of the way and with just under four minutes remaining were up by nine points. But the Panthers stormed back to go ahead with 5.1 seconds left on the clock when captain Hailey Anderson drained her sixth 3-pointer of the game to put her team ahead by two.

The Panthers celebrated and it looked like Peabody was in for another disappointing loss, but it's never over until the buzzer sounds.

Freshman point guard Taylor Bettencourt brought the ball up the court and never hesitated before firing off a bomb that just beat the buzzer for a 48-47 Tanner win.

It was a huge upset for the young Peabody girls, who came into the game with a 5-10 record while the visitors were 10-5. The ending was disappointing for the Beverly girls, and nobody took it harder than Anderson on the night she became only the second girl in school history to score 1,000 points, joining Laura Sullivan, who did it in 2000.

Coming into the game Anderson needed 22 to hit that mark, and cut that number down to 10 with a dozen in the first half. She finished with a game and career-high 36, but had tears in her eyes after the game because she wanted her team win more than personal glory.

She hit the coveted mark late in the third quarter, but was far from finished, adding 12 more the rest of the way. At the start of the fourth quarter an announcement was made about her accomplishment, and she got a big hand from the crowd. After the game teammate Tia Bernard presented her with flowers.

"I knew I was close, but I didn't play attention to my points during the game so I didn't know when I did it," said Anderson, who now has a North Shore high 49 treys. "We were down the whole game, but fought back and it came down to the wire. This is the second time this season we've lost like this at the end. Winthrop beat us at the buzzer right after my 3 put us ahead."

Beverly coach Seth Stantial was not pleased that the referees didn't see him trying to call time out after Anderson's big shot to give his team the lead.

"I called a time out with five seconds left but I guess the refs didn't hear me," said Stantial. "The girls were giving high fives to Hailey, and I wanted to settle things down, but that's not why we lost. If it wasn't for Hailey we would have had no chance at all tonight."

Peabody coach Stan McKeen said Stantial wasn't the only one who couldn't get a timeout. He called one earlier in the game that was ignored.

"Evidently they didn't hear me either," said McKeen. "What a game. Anderson shot lights out; 22 points in the second half alone. She was a one man show, but I've got to give Taylor credit. She came down the court with the ball, stopped at the key and put it in before time ran out.

"Even though Anderson scored 36, I thought Taylor did a good job on her. It was the switches that we weren't picking up. The last three or four games we've had the same scenario, getting out to a good start only to fade late. When Anderson hit that shot I thought this can't be happening again."

The Tanners took the lead midway through the second quarter on a trey by captain Emily Carney, who hit four and scored a team-high 14 points. That was the start of an 11-point run by Peabody with Isabel Bettencourt hitting a long shot and Georgia Leon making two consecutive baskets. Beverly did a better job preventing Peabody from getting in the lane in the second half, but had trouble scoring.

At halftime the home team led by eight, 24-16, after Beverly had scored only four points in the second quarter, but picked up the pace after intermission. A 9-2 Panther run at the end of the third closed the gap to 36-34 heading into the last eight minutes.

Once again the Tanners heated up with an 11-0 run to open the final frame and appeared on their way to an upset win before Anderson took over, scoring nine of the next 11 points along with a basket by Bernard. But it wasn't enough thanks to Taylor Bettencourt.

Freshman Lauryn Mendonca had 11 points for Peabody and Amber Kiricoples was in double digits with 10 along with eight rebounds. Emma Bloom chipped in with six boards and three points.

Peabody 48, Beverly 47

at Veterans' Memorial Field House, Peabody

Beverly: Anderson 13-4-36; McCarthy 0-2-2; Hemsey 0-0-0; Ruggeri 0-0-0; Bernard 3-0-6; Kotchian 0-1-1; Mazzone 0-0-0; Perron 0-0-0; Ollivierre 1-0-2 Totals: 17-7-47

Peabody: Kiricoples 4-2-10; T. Bettencourt 1-0-3; Alimonti 0-0-0; Carney 5-0-14; Mendonca 5-1-11; Bloom 0-3-3; Leon 2-0-4; I. Bettencourt 1-0-3 Totals: 18-6-48

Halftime: P, 24-16

3-Pointers: B, Anderson (6); P, Carney (4), T. Bettencourt, I. Bettencourt

Records: B, 10-6; P, 6-10

Recommended for you