Once Ryan is rehired as a salesman before being demoted back to a temp at the company, he forms a bond with Pam, slightly softening his bitter relationship with Jim. Things finally improve a little between the two for most of season five, but they deteriorate anew in season six when Ryan does not take Jim's new position as co-manager seriously. Ryan then teams up with Dwight to get rid of Jim and the pair celebrate after Jim's demotion back to sales representative. Since then, Ryan and Jim seem to have resumed their former business relationship with the two no longer butting heads and even associating with each other in a friendly manner on a regular basis.