Barcelona won every single match in the Primera Liga Iberdrola, and finished with the maximum 90 points at the top of the table.
CNN  — 

The number 30 is a semiperfect number – one that is equal to the sum of some, but not all, of its factors.

For Barcelona Femení, however, 30 proved to be a perfect number as it made history on Sunday with a 2-1 win over Atlético Madrid, completing a perfect league campaign comprised of 30 wins in 30 matches. It is the first team to achieve this feat in the Primera Liga Iberdrola.

Barça’s dominance in the league was underscored by its goal difference as it scored 148 goals during the season – an average of 4.93 goals per game – and conceded just 11 – an average of 0.36 a game.

The league trophy had been secured six games ago, but the promise of a historic season and the retirement of club legend Melanie Serrano on her 517th appearance created an emotionally charged atmosphere at the Estadí Johan Cruyff.

Barça opened the scoring in the 11th minute as a corner from María León found Irene Paredes whose header found its way to the back of the net.

When Aitana Bonmatí scored in the 23rd minute, putting the Blaugrana 2-0 ahead, it seemed that her side was cruising to victory. An early red card for Atlético center-back Merel van Dongen after two bookable offenses only cemented Barça’s early advantage.

Paredes scored the first goal of the game.

An Amanda Sampedro goal, however, pulled Atlético back into contention and Bonmatí was sent off for a red card for Barça, meaning that both teams finished the game with 10 players on the pitch though Barcelona eventually held on for victory.

It is not just on the pitch that Barça has made history this season. Twice, it has sold out the Camp Nou, setting consecutive world records for the highest-ever attendance at a women’s football match.

Striker Asisat Oshoala, meanwhile, picked up the Golden Boot after scoring 20 goals in 19 league appearances. She is the first Nigerian to win the award.

Barcelona’s historic achievement comes ahead of Saturday’s Champions League final in Turin against Lyon.

The French club was previously the undisputed champion of Europe with five consecutive Champions League titles before it was knocked out in the quarterfinals last year by Paris Saint-Germain.

In Lyon’s absence, Barcelona won its first Champions League title and is now seeking its first back-to-back victory.

Four days after the Champions League final, the Blaugrana will also face Real Madrid in the semifinal of the Copa de La Reina.

If it can win both these trophies, Barcelona will become the second women’s team in history to win two European trebles in a row.