At what age did you break pacifier habit with your child/ children?

How did you do it? Just curious. My niece is almost 2 years old and we've noticed her front teeth have developed to be very outward and curved. It's very hard to have her let go of her pacifier. Just curious to know how old was your child/children when they let go? was it easy ?