The Pontiac G6 is a midsize car that was produced by General Motors under the Pontiac brand. It was introduced in 2004 for the 2005 model year to replace the Grand Am. The car was built on the GM Epsilon platform which it shared with the Chevrolet Malibu and Saab 9-3 along with other General Motors vehicles. Features included a remote starting system (standard on GT, optional on base model), traction control / ABS, electronic stability control, automatic headlights as well as a panoramic sunroof option. Production ended in 2010 with the discontinuation of the Pontiac line.

Answer this question: when did they stop making the pontiac g6? Let's think fast. Stream of consciousness:
To answer the above question, the relevant sentence is: Production ended in 2010 with the discontinuation of the Pontiac line. So the final answer is 2010.