Stopping formula?

When did you stop formula? My baby is 9 months old and I’m not sure when I stop wean him off. His pediatrician said it’s more of a personal preference/opinion when you stop giving your baby formula and they recommend stopping from 9-12 months.