になってしまいました

ended up becoming

→ に
phrase Rare #38,677
ended up becoming Often suggests that the change was unfortunate or unwanted. The ending ました makes the expression polite.
JA: 道に迷って、遅刻することになってしまいました。
EN: I got lost and ended up being late.

建物は灰になってしまいました。

The building was reduced to ashes.

家が丸焼けになってしまいました。

My house burned to the ground.

この国はもうダメになってしまいました

This country is already beyond saving.

— バトル・ロワイアル (2000)

まもなく赤い毛布も見えなくなり、あたりとの高さも同じになってしまいました。

Before long, the red blanket disappeared from view too, and it was level with everything around it.