40 At his death his son Ahaziah succeeded him as king.