NEW YORK - The majority of New York's high school students are graduating on time, but the state is still below the national average. 

According to a new report released by several non-profit groups, 77 percent of seniors earned their diplomas in 2012. The national graduation rate is slightly higher at 80 percent. 

The study ranked New York 34th in the country, and credits former Mayor Michael Bloomberg's anti-truancy initiative back in 2010 for leading the city in the right direction. 

The organizations behind the report also name an income gap as one reason the state is falling a little behind others.