James' first television job was in 1991 on The New Candid Camera, where he used his comedy timing and improvisation skills playing the actor that pulled the practical jokes on unsuspecting people. James appeared on television as the announcer for the MTV sports game show SandBlast from 1994-96. James later moved to Los Angeles and befriended Ray Romano, and later guest-starred on a few episodes of Romano's hit CBS sitcom, Everybody Loves Raymond. These appearances led to the development of his own sitcom, The King of Queens, which ran on the same network from September 21, 1998, to May 14, 2007. James played working class parcel delivery man Doug Heffernan who works for a company known as IPS. He is married to Carrie (Leah Remini), a sharp-tongued, ambitious secretary at a Manhattan law firm who is far less content with working-class life in Queens. Her obsessive, vindictive father, Arthur (Jerry Stiller), who is capable of bizarre conduct, lives with them. For his work on the eighth season, James was nominated for a Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series in 2006.