In which sentence is the independent clause in bold?

1. The sun was shining brightly as I walked to school.

3. I finished my homework before dinner was ready.