qnli question: As a result of what war were many new temples built by victorious generals? sentence: As a result of the Punic Wars (264–146 BC), when Rome struggled to establish itself as a dominant power, many new temples were built by magistrates in fulfillment of a vow to a deity for assuring their military success.