Read the following sentence:

The sun set as the moon began to rise.

What is the subject in this sentence?

The subject in this sentence is "The sun".