GORHAM, Maine — It came down to the final heat of the girls 4×200 relay to decide the Class A girls state championship Monday at the University of Southern Maine in Gorham.

The Edward Little Red Eddies of Auburn edged the Bonny Eagle Scots of Standish 52-50 in the team competition as Edward Little won the 4×200 relay with a time of 1 minute, 48.60 seconds. The Scots time was 1:51.63.

Scarborough rolled to the title in the boys meet.

For Edward Little girls track coach Dan Pontbriand it was exciting to go head-to-head in the final event.

“Seeing them in our heat was great to have that tension building up,” Pontbriand said. “This was exciting, this is why we come to this meets, this is why we train these athletes. It’s moments like this, where they do great things.”

He also said they traditionally focus more to outdoor track and field in the spring, so doing so well in the indoor championship came as a surprise.

Falmouth came in third with 44 points, Westbrook placed fourth with 37, and Cheverus of Portland finished in fifth 35 to round out the top five of 25 scoring teams.

The Red Eddies won the team event by consistently placing second and third all afternoon. Katie Ferrara finished second in the 55-meter hurdles, Anna Beaudet finished second in the 55-meter dash and third in the 200-meter dash, and Morgan Knowlton finished third in the shot put.

Nyagoa Bayak of Westbrook broke the previous state record in the high jump with a leap of 5 feet, 7 inches, breaking Grace McLean’s previous record of 5-6.25 in 2010. Last year’s champion, Massabesic of Waterboro’s Moriah Biener finished in second with a jump of 5-4.

Hampden Academy’s Krystal Grant picked up a first place in the long jump with a leap of 17-1.5, and Brewer’s Moriah Newcomb finished fourth in the event.

Bangor’s Rihan Smallwood also recorded a first place with a height of 10-4 in the pole vault.

In the boys competition, it was all Scarborough Red Storm as they won five events including the 4×800 meter relays in which they set a state record of 8 minutes, 10.39 seconds, beating Cheverus’ time in 2010 of 8:12.25.

In the boys meet, it was Scarborough’s sixth title in the last eight years and 17th overall as it scored 74 points. Falmouth finished second with 45, Lewiston third with 33, Deering came in fourth 32 and Brewer finished in fifth with 31.5 to round out 22 scoring teams.

“We knew coming in it, we had the athletes to win it,” Scarborough coach Derek Veilleux said. “We just had to go out and do it, and certainly we had some great performances from the 4×8 to start things off to set the tone.”

Griffen Madden started the winning surge for Scarborough when he won the 55-meter hurdles with a time of 7.79. Colin Tardiff won the one-mile run with a time of 4:29.16. Sam Rusak won the high jump with a leap of 6-2. He also won the pole vault with a distance of 15-6. Connor Doherty came in second in the two-mile run.

Veilleux thought some athletes brought their game to the next level.

“We were the third seed in the 4×8 and to come out and run the state record was awesome for those [athletes],” Veilleux said. “I had three seniors and a junior on that team. Certainly Colin Tardiff in the mile, he was the fourth seed, and he had a great day to win it. He did exceed expectations. We were expected to score a lot of points with Sam, Griffen being the top seeds in their respective events.”

Falmouth set a state record in the 4×200 relays with a time 1:32.89, breaking Cheverus mark in 2013 by seven-tenths of a second.

Two Brewer athletes picked up first-place finishers as Austin Lufkin won the shot put with a throw of 54-9.50. His teammates Garrett Graham and Jordan Wood came in fourth and fifth, respectively. The Witches’ Erick Seekins won the long jump with a leap of 21-2.

Hampden Academy distance standout Paul Casavant won the two-mile run, crossing the finish line with a time of 9.34.68. Teammate Adam Schwendt finished in fifth.