<P> Despite liking the majority of the staff, Michael fiercely hates Human Resources Manager Toby Flenderson, likely due to Toby's requirement to enforce the rules of proper office behavior that Michael loves to flout . Michael once reasoned that "Toby is in HR, which technically means he works for Corporate . So he's really not a part of our family . He's also divorced so he's not a part of his family either". His longtime goal is to get rid of Toby and any attempts at reconciliation between the two usually backfire, with Michael resorting to name calling or jokes at Toby's expense . In the episode "Goodbye, Toby", Michael is thrilled when Toby decides to move to Costa Rica and gives as his going away present a rock with a note that reads "Suck on this". The next season, after Toby's replacement Holly is transferred, Michael is horrified when Toby returns to Dunder Mifflin . In "Frame Toby", he goes to great lengths to get him fired, trying to frame him for possession of marijuana (which turns out to be a caprese salad). In "The Chump", Michael says if he had a gun with two bullets and was in a room with Adolf Hitler, Osama bin Laden, and Toby, he would shoot Toby twice (which disgusts the rest of the office). In "Nepotism", after Michael spanks Luke, the office intern who is also his nephew, he is ordered to attend counseling sessions moderated by Toby, much to Michael's horror . At first Michael is uncooperative but is gradually tricked by Toby into discussing therapeutic details of his life and childhood . In "Classy Christmas", Michael is happy to hear the news that Toby is going to be on a leave of absence for jury duty and that Holly will be taking his place . In "Michael's Last Dundies", Michael eggs Toby's house in the cold open while yelling, "you suck", while he and Deangelo are handing out Dundie nominations . Ironically, Michael is shown to have befriended Toby's daughter Sasha in "Take Your Daughter to Work". In "Goodbye, Michael", Michael is seen saying goodbye to Toby without insulting him, possibly indicating that he will miss Toby on some level . Toby suggests Michael visit his brother Rory, who also lives in Colorado . </P> <P> Once Pam is promoted to salesperson following Dunder Mifflin's buyout of The Michael Scott Paper Company, Michael keeps Erin Hannon as her replacement . He is initially unkind to her as he misses having Pam as his receptionist, but she is able to earn his respect by cheering him up after his disastrous school visit in "Scott's Tots ." Unlike her predecessor, Erin loves working as a receptionist, admires Michael and cheerfully accommodates many of his unusual requests (such as serving him a plate of ants on a log every day at 2: 30 and spinning him in his chair until he's dizzy) that Pam likely would have been apprehensive about . Although he generally enjoys Erin's thoughtful treatment, his dismissive feelings towards Erin continue until "Secretary's Day" when he reluctantly agrees to take her out to lunch . Erin relishes the opportunity to spend time with her boss while Michael finds their conversation awkward and mentions that her then - boyfriend Andy Bernard was previously engaged to Angela Martin of which Erin was previously unaware, she is upset to learn this and ends her relationship with Andy . Later that day, Michael apologizes to Erin; the two are finally able to relate to each other over their mutual fondness for silly humor, stemming from their similar immature tendencies (with Michael's ignorance and Erin's naïveté). Their working relationship then develops smoothly while they bond by making each other laugh with childish jokes, such as Erin pointing out that the phrase "it's not" sounds like "snot ." In "Viewing Party", Erin throws a Glee party with her new boyfriend, Gabe Lewis . Throughout the night, she unsuccessfully attempts to get Michael and Gabe to bond . Michael is jealous that the office looks to Gabe as the boss and attempts to sabotage the party . After being confronted by Erin in private, Michael questions why his opinion matters so much to her as he is not her father . In a moment of insight, Michael realizes that Erin, who was raised in foster care, does indeed look to him as a father figure and he instigates a playful fight as father and daughter by saying "go to your room, young lady!" Erin becomes protective of Michael to the point where she is hostile towards Holly Flax, saying in a talking head interview that she doesn't understand what Michael sees in her, until The Search when she, Dwight and Holly go searching for a missing Michael . Erin sees that Holly is able to sense where Michael is, and when she sees them reconcile, she finally understands their love for each other and smiles . Later in "Goodbye, Michael", Erin talks to Michael about her love life and wishes that she knew her birth mother so she could tell Erin what to do . Michael advises Erin that she shouldn't rush things and that she'll know what to do when the right guy comes along . Michael then tells her that she won't need her mother for advice, because she will always have his personal phone number when she needs advice and kisses her on the head . </P> <P> Shortly after the dissolution of his troubled relationship with Jan, Michael found love with Holly Flax (Amy Ryan), Toby's replacement as HR Representative, who appears for a while to be Michael's best chance at love, with the two sharing a similar sense of humor and social awkwardness . However, after David Wallace witnesses them kissing, Holly is transferred to the Nashua branch and she and Michael break up after choosing not to pursue a long - distance relationship . Despite the breakup and Holly's new relationship with another man, their affection for each other doesn't go away, as it's shown that Holly had been writing a note for Michael on her work computer, as well as their subtle romantic glances at one another during the summer company picnic . Throughout her absence in Season 5 (excluding Company Picnic) and carrying on into Season 7, Michael hooks up with a few other women, but ultimately he realizes that they're nothing compared to her . Around Christmas in Season 7, Toby is forced to leave the office due to being selected as part of the jury duty for a local murder case, resulting in Holly returning as the temporary HR replacement . There's initial tension between the two of them and hesitation on her side (mostly after her sudden break - up with A.J.), but Holly finally reunites with Michael after realizing they're both soulmates . The two continue dating for a few weeks, and on Valentine's Day, they tell each other they love each other, decide to move in together, and resolve that they will not allow Dunder Mifflin to interfere with their future together . With her time at the Scranton branch almost up and the recent knowledge that her aging parents need to be taken care of, they ultimately become engaged . Holly later moves back to Colorado and Michael follows her soon after . In the finale it is revealed that they have children together . It was revealed in a photo album on NBC that they have three children and are expecting their fourth child . </P> <P> Michael's longest relationship before his marriage was with Jan Levinson (Melora Hardin), his original - then - former boss from Corporate . Starting with a one - night stand after they closed their business deal at Chili's in "The Client" (which featured guest star Tim Meadows as the eponymous client), Michael and Jan begin awkward dating, become an official couple, and eventually move in together after Jan is fired from her job--although it should be noted that Jan usually treated Michael with contempt . After Michael fails to defend Jan in her wrongful dismissal suit against Dunder Mifflin, they remain together for a short while, but end up blowing up at each other during an ill - fated dinner party and eventually break up . He also dated Carol (played by Carell's wife Nancy Walls), a real estate agent from whom Michael bought his condominium . Michael was much more interested in Carol than she was in him, and after he made an unwanted and rejected impromptu public marriage proposal, Michael's decision to Photoshop pictures of himself over Carol's ex-husband in her family pictures resulted in their breakup . On a business trip to Winnipeg, Michael and "Concierge Marie" become close, and Michael does not wish to leave her after they are caught necking in her suite . After Jim and Pam's wedding, Michael begins dating Pam's mother Helene (much to Pam's horror), but he breaks up with her on her birthday after discovering she is turning 58 . Near the end of season six, Michael begins dating Donna (Amy Pietz), the manager of a local bar, but later finds out that she's married and he is, as he puts it, "the mistress". He continues seeing her until the disgust of his employees drives him to listen to his conscience and break things off with her . In Season 7's "Sex Ed", Michael reunites (in person or by telephone) with all of his aforementioned past girlfriends when he believes that he has contracted herpes . In doing so, he realizes that Holly was the only one he truly loved . </P>

Who does michael end up with in the office