Examples of using "전공이었습니다" in a sentence and their english translations:
He was a computer science major, as an undergraduate.