Name the complete subject and the complete predicate in the following sentence. Several cities served as the capital before 1800.

Complete subject:

Several cities

Complete predicate:
served as the capital before 1800