I corrected capitalization errors. Is the following sentence correct?

According to the constitution, a person must be at least thirty years old to serve as a senator.