At least 15 NFL team Twitter accounts and the league's own official account, @NFL, were the targets of hackers Monday afternoon.

The league release a statement on the attack Tuesday morning.

"On Monday, the NFL Cybersecurity department became aware of a breach of a league-related social media account. Targeted breaches and additional failed attempts were discovered across the league and team accounts. The NFL took immediate action and directed the teams to secure their social media accounts and prevent further unauthorized access. Simultaneously, the league alerted the social media platform providers and, with their assistance, secured all league and club accounts. We continue to work diligently with the teams, which have resumed normal operations. The NFL and teams are cooperating with its social media platform providers and law enforcement."

Some of the accounts were simply hacked by removing the profile picture, Twitter header, Twitter name and, in a few cases, the Twitter bio. Others included identical tweets that said the hacking was carried out by a company called OurMine.

For example, here's what was tweeted from the Packers official account.

MORE: Notable NFL players who made XFL rosters

This same message, or something similar, was also tweeted from the official NFL account, the Chiefs and Bears, among others.

In some cases the tweet was deleted immediately, or shortly after. But the tweet from the Packers remained up for quite a while.

The company tagged in the tweets, OurMine, posted constant updates on its Twitter feed about the accounts it was getting into. The company claimed responsbility for taking over social media accounts for the Cowboys, Bills, Texans, Vikings, Chiefs, Packers and Bears.

But when you go to various team accounts on Twitter, it also appears as if the company was able to access a number of other accounts. The Cardinals, Giants, Colts, Eagles, 49ers, Browns, Bucs and Broncos all were without a profile picture Monday afternoon, suggesting their accounts may have also been comprimised.

Teams that appeared to avoid the hacking were the Raiders, Falcons, Jets, Titans, Steelers, Dolphins, Ravens, Seahawks, Rams, Bengals, Vikings, Patriots, Saints, Redskins, Lions, Panthers and Jaguars.

So in total, 15 teams were hacked and 17 weren't (as far as we can tell).

Looks like somebody hacked the official Twitter accounts for more than a half dozen NFL teams. A Twitter spokeswoman confirmed the accounts have been hacked and says the company immediately froze them after finding out and is investigating. Here's what they posted to @packers pic.twitter.com/8Qrha93nXU — Kurt Wagner (@KurtWagner8) January 27, 2020

The message associated with the hack seems to be friendly in nature, as it says, "We are here to show people that everything is hackable. To improve your accounts security contact us." It's not clear why they targeted NFL teams, but with the Super Bowl around the corner it makes for good publicity.

Although that message was sent, the hacker group had a bit of fun with some teams. Initially they tweeted from the Bears account that the team was under new ownership before sending a follow-up tweet saying "just kidding."