Mazda’s rotary-powered RX-8 sports car has reached the end of its life span. The Japanese automaker has ended production of the affordable sports car due to slow sales.

Edmunds Inside Line contacted a Mazda North American Operations spokesman, who confirmed the news. “The RX-8 is a victim of falling sales and increasingly tough global emissions standards,” Inside Line reports.

Motor Trend says that sales for the rotary-powered sports car have plummeted in recent years, despite doing well when the car was introduced in 2003.

“Mazda sold 23,690 in 2004 alone,” Motor Trend reports. “As the years went on though the RX-8′s sales figures dropped like a rock — last year, Mazda moved only 1,134 units.”

If you have always wanted to own a rotary-powered sports car, Automotive News says that Mazda dealers will continue to sell the RX-8 until its new-car supply is depleted.

“Mazda's U.S. dealers had 300 units in stock as of Aug. 1 for a 118-day supply,” Automotive News reports.

The Mazda RX-8 is the only rotary-powered car on the market and starts at $26,795. The rear-wheel drive RX-8 features a 1.3-liter 232-horsepower 2-rotor rotary engine and six-speed manual transmission. An automatic transmission is also available. The 2011 Mazda RX-8 currently has a purchase deal of zero percent financing for 60 months plus no payments for 90 days in August.

Shopping for an affordable sports car? Check out the U.S. News rankings of this year's best cars. Then, look for a great deal on a new car by checking out this month’s best car deals. Also, be sure to follow us on Twitter and Facebook.