The whole time that King Asa was king of Judah, he fought a war against King Baasha of Israel.
All during the time that Baasha ruled over Israel, he was fighting wars against King Asa of Judah.
Rehoboam and Jeroboam were always fighting against each other.
There was no more war until the 35th year of Asa’s rule.