Totally up to you
The choice on how long you breastfeed is totally up to you. My best friends daughter is 2 years old and she is still breastfeeding. My kids didn't breastfeed past a year, but that was their decision. My oldest was 6 months old and my youngest was 8 1/2 months when they stopped and they did it on their own.