Here is the account of how he rebelled against the king: Solomon had built the terraces and had filled in the gap in the wall of the city of David his father.
From the time that Amaziah turned away from following the Lord, they conspired against him in Jerusalem and he fled to Lachish, but they sent men after him to Lachish and killed him there.