Please correct all grammatical mistakes in this sentence.
There was a girl seemed to text during the lecture, and she was called by the profession.
There was a girl who seemed to text during the lecture, and she was called by the professor.