It has long been classed in the family "Crocodylidae". However, recent immunological studies show it is more closely related to the gharial than was originally thought. So now classed in the family "Gavialidae", after all.