There was no single "stop date." The Game Boy line phased out over ~9 years as successors launched. Key milestones:
Summary: Original GB ≈ 2005. GBC ≈ 2008. GBA line ≈ 2010. But you could buy new GBA SPs at Walmart in 2009.