Japanese by Example
Learning through examples in manga

Came to be studying with us with 〜ことになる

名探偵コナン » Volume 18 » Page 96

A new student joins Conan’s elementary school classroom. The teacher introduces her.

今日(きょう)からみんなと勉強(べんきょう)する(こと)になった灰原(はいばら) (あい)さんです!」
"This is Ai Haibara. It came to be that she'll be studying with us starting today."
"Everyone be friendly with her!"