He is known for his role as Jim Halpert on the NBC sitcom `` The Office '' .
He is best known for playing Jim Halpert on NBC 's `` The Office '' .