Question: who does jim end up with in the office
Answer: His character serves as the intelligent , mild - mannered straight man role to Michael , although it is also defined by a rivalrous pranking on fellow salesman Dwight Schrute and a romantic interest in receptionist Pam Beesly , whom he begins dating in the fourth season , marries in the sixth , and has children with in the sixth and eighth .