When did Porsche stop producing air-cooled engines in the 911?

Porsche stopped producing air-cooled engines in the 911 in 1998 with the 996 series.