Oh, the perils of social media.

On Saturday afternoon, the Rangers' official Twitter account @Rangers tweeted "FireCharlie.# bye" during the Texas Rangers' tilt with the Los Angeles Angels.

Meanwhile, in Fort Worth, Charlie Strong's Texas Longhorns were on their way to a 50-7 blowout loss to TCU.

Twitter/@Rangers

The tweet was shortly deleted but lived on in screenshots and blog posts chronicling the mishap. Soon after, before the Rangers had even finished losing to the Angels, the team issued a press release acknowledging the tweet.

"The Texas Rangers wish to apologize to the University of Texas and its head coach Charlie Strong for the very inappropriate and insensitive message that was briefly posted on the team's Twitter account this afternoon," the release said.

"The tweet was posted by a member of the team's social media department who was neither working for the Rangers nor was at Globe Life Park today. Effective immediately, that individual is no longer employed by the Rangers."

Accidents happen, but this wasn't the first major social media gaffe to come out of Texas.

As the Houston Rockets prepared to eliminate the Dallas Mavericks from the NBA Playoffs earlier this year, the Rockets' official account tweeted a gun held to a horse's head. Houston's social media coordinator was fired in the wake of the tweet.

The coordinator responsible has not been identified.