のは昨日でした

it was yesterday that

→ の
phrase Rare #25,243
it was yesterday that の turns an action or event into a topic, and は marks it as what the sentence focuses on. The ending can vary, such as 昨日だった or 昨日だよ.
JA: 日本に着いたのは昨日でした。
EN: It was yesterday that I arrived in Japan.

私が誤って窓を壊したのは昨日でした。

It was yesterday that I accidentally broke the window.

マイクがこのラケットを買ったのは昨日でした。

Mike bought this racket yesterday.

私が彼に会ったのは昨日でした。

It was yesterday that I met him.

彼が死んだのは昨日でした。

He died yesterday.