Gov. Andrew Cuomo took a veiled shot at New York City Mayor Bill de Blasio on Monday, touting the plan to remove youthful offenders from Rikers Island prison by 2018, comparing it favorably to the decade-long plan to close Rikers Island.

“Rikers Island is an abomination and don’t tell me it’s going to take 10 years to fix that abomination,” Cuomo said at the New York City Mission Society.

At the same time, Cuomo took a similarly veiled hit directed at Assembly Speaker Carl Heastie, telling the crowd that the legislative leaders in Albany gave up on raising the age of criminal responsibility in New York to 18.

“Legislative leaders basically gave up on it,” he said in reference to the push for the issue, which he began in earnest in 2015.

The raise the age issue was a key policy concern for Heastie to have accomplished in the state budget, and Cuomo last week indicated he was satisfied with the passage of a budget extender bill that funded the government until May 31, but did not include the juvenile justice reform. Cuomo at the time suggested he wanted to secure an agreement on raise the age, but noted it was a policy issue.

Cuomo was in New York City to fete the passage of the budget, a day after the final bill was approved nine days into the state’s fiscal year.

Cuomo has had a long-running feud with de Blasio, and recently was locked in a contentious budget negotiation with Heastie for the last several weeks. Cuomo has made comments in recent days that have been seen as veiled criticism of Heastie’s leadership in the Democratic-dominated chamber, saying in a radio interview on Sunday the speaker’s scandal-scarred predecessor had control over the majority conference.

A spokesman for Heastie who also worked under ex-Speaker Sheldon Silver said that claim was not true.