The subject of the sentence is 'sun'
The subject of the sentence 'The sun set as the moon began to rise' is 'sun'.
9.5m questions
12.2m answers