The last diesel class was the 3x 1950s Barbels, decommissioned by 1990: https://en.m.wikipedia.org/wiki/Barbel-class_submarine