Ahaziah was the son of Jehoram and Athaliah and grandson of Ahab and Jezebel. At 22, he became sixth king of Judah practically by default as all his brothers had been taken prisoner of killed by an invading army. Guided by his wicked mother, his reign, which lasted only one year, was disastrous.
He sided with his uncle Joram, king of Israel, in a war against Hazael, king of Damascus but was wounded at the pass of Gur when attempting to escape. Joram, his uncle had been killed moments earlier by Jehu.
When Ahaziah king of Judah saw what had happened, he fled up the road to Beth Haggan. Jehu chased him, shouting, "Kill him too!" They wounded him in his chariot on the way up to Gur near Ibleam, but he escaped to Megiddo and died there. His servants took him by chariot to Jerusalem and buried him with his fathers in his tomb in the City of David. (2 Kings 9:27-28)
His mother Athaliah ascended to the throne, becoming Judah's first and only queen.