Which of the following is a complex sentence?
The hospital, which was the only one for miles, was built on a hill.
The hospital was built on a hill and had a great view of the city.
The hospital was built on a hill, after the previous hospital was flooded.
The hospital was built on a hill.