The usage of the phrase "as well as" is preceded by a comma.
In a sentence where "as well as" is used, the verb must agree with the noun before the "as well as" phrase. Here, the verb was/were refers to the noun 'professor'. As professor is singular, the correct verb to be used here is 'was'.
Hence, option A is correct.
Create a FREE account and get: