Iran admits they “unintentionally” fired a missile at the Ukrainian passenger plane carrying 176 people which crashed in a field on the outskirts of Tehran killing everyone onboard. Iranian state television made the announcement on Saturday citing “human error” for the strike.

“In such a condition, because of human error and in a unintentional way, the flight was hit,” said Iranian state television. They said they would upgrade their system to prevent “mistakes” in the future, and will prosecute those responsible for the strike.

Iran’s president Hassan Rouhani posted a statement offering his “sincerest condolences” on Twitter.

“The Islamic Republic of Iran deeply regrets this disastrous mistake. My thoughts and prayers go to all the mourning families. I offer my sincerest condolences,” tweeted Rouhani.

“Armed Forces’ internal investigation has concluded that regrettably missiles fired due to human error caused the horrific crash of the Ukrainian plane & death of 176 innocent people. Investigations continue to identify & prosecute this great tragedy & unforgivable mistake,” Rouhani tweeted.

Iran’s foreign minister Javad Zarif blamed the United States in his apology tweet.

“A sad day. Preliminary conclusions of internal investigation by Armed Forces: Human error at time of crisis caused by US adventurism led to disaster. Our profound regrets, apologies and condolences to our people, to the families of all victims, and to other affected nations,” Zarif tweeted.