Original: In view of Hannibal's great popularity, the Carthaginian government did not repudiate Hannibal's actions, and the war he sought was declared at the end of the year.
Simplified: The war Hannibal wanted was declared at the end of the year.