Manager Mike Matheny of the St. Louis Cardinals removes starting pitcher Michael Wacha from the game against the Colorado Rockies in the seventh inning, June 9, 2015 in Denver, Colo. 
Photo by Doug Pensinger/Getty

St. Louis Cardinals investigated for hacking rival Houston Astros

Updated

A federal official confirmed to NBC News on Tuesday that the FBI is looking into allegations that officials of the St. Louis Cardinals illegally hacked into a computer database of the Houston Astros.

The investigation was first reported by The New York Times.

Major League Baseball also confirmed the investigation. In a statement, the league said: “Major League Baseball has been aware of and has fully cooperated with the federal investigation into the illegal breach of the Astros’ baseball operations database.”

The Times reported that among the information compromised was internal Astros discussions about trades, proprietary statistics and scouting reports.

The Cardinals said in a statement that they were aware of the investigation and cooperating. The team would not comment further. The Houston Astros said they were also cooperating.

The Cardinals have been among the most successful teams both in baseball history and in recent years. They won the World Series in 2011 and 2006 and have the best record in the game this year.

This article originally appeared on NBC News.com. This is a developing story, please check back for updates.

FBI, Justice Department and Sports

St. Louis Cardinals investigated for hacking rival Houston Astros

Updated