Why did ford kill the contour?

I just got this car, and I love it...for a ten year old beater its a spunky inline 4, roomy, decent handleing, and it does'nt look like a box...Why in hell did they kill it, whats its repacement?