Former Public Advocate Mark Green has buried the hatchet with longtime rival Al D’Amato, whom he twice tried to oust from the U.S. Senate, and will now “spar” with him weekly on cable television.

Green, former Mayor Ed Koch and D’Amato will all serve as political commentators on the “Wise Guys” segment of the NY1 show “Inside City Hall.”

“Mark Green has been trying to get my job for many years – and finally, he has,” D’Amato quipped.

The former senator said the relentless barbs traded between the two are from “another time, another era,” and added, “We’re doing this together.”

Green said he was humbled to appear with the duo.

“I don’t think I’ve earned my spurs yet to actually be called a wise guy,” Green said, “so Al and I agree that I will henceforth be called the young guy with hair.”

Green, who lost a narrow election to Mayor Bloomberg, said he’s been adhering to the protocol of not criticizing the new mayor for the first six months – but now has an obligation to take off the gloves.

“I’ll be truthful and not overly critical, because the election’s over and I have nothing to gain,” he said.

“He’s made quality appointments, but I don’t see any affirmative vision or program yet – but he’s been there three weeks.”