Where might a pronoun’s antecedent appear?

1.after the noun in the sentence

2.in an entirely different sentence

3.before the noun in the sentence

4.all above