originally; in the beginning; at first
Used to describe how something was at an earlier time, often contrasting with the current state. Common in both spoken and written Japanese.
Originally, this problem started from his misunderstanding.
この建物は元は学校だった。
This building was originally a school.