HBO in Spain has aired, apparently by mistake, the sixth episode of Games of Thrones' seventh season — nearly one week ahead of schedule.

The episode was available to Spanish subscribers early Tuesday for about an hour before being removed. The 71-minute episode, entitled "Death is the Enemy," is due to be officially available Aug. 21.

"We have learned that the upcoming episode of Game of Thrones was accidentally posted for a brief time on the HBO Nordic and HBO España platforms," an HBO spokesperson told The Hollywood Reporter.

"The error appears to have originated with a third party vendor and the episode was removed as soon as it was recognized. This is not connected to the recent cyber incident at HBO in the U.S."

News of the incident was immediately reported on social media and copies of the episode were reportedly available online later.

Comment from the company's office in Spain wasn't immediately available Wednesday.

HBO has been the victim of hacking in recent weeks in the United States.

In India, episode four of Game of Thrones was recently leaked, leading to the arrest of four suspects.