Augustus was given the title imperator by the senate and maintained a standing army of 28 legions. He began a new system for governing the provinces, and stabilized the Roman frontiers. He had suffered a defeat to Germany, where he had learned that the Roman power isn't unlimited; as a result, he became devastated. Augustus also rebuilt many ruined temples and built new ones to honor the Roman gods. He was declared a god by the Senate upon his death.