<P> In an interview with Yahoo! TV, that was released before the episode "Business School", B.J. Novak describes Ryan and Kelly as "the worst relationship that all of us have been in ." He adds, "The bad news is that that's what a lot of people have actually experienced, something that just doesn't work on any level, and they just keep going for some weird reason ." Mindy Kaling (Kelly) adds, "It seems like Ryan has just adjusted to the fact that he is the boyfriend of this crazy girl ." In interviews during the retrospective airing prior to "Finale (The Office)," Kaling and Novak revealed that their characters' turbulent on - again, off - again relationship was inspired by their relationship in the writers' room where they were best friends but often argued . </P> <P> In the season Seven episode "The Search" during the cold open Ryan and Kelly announced to the office that they were getting a divorce, apparently having married over a week earlier on the spur of the moment neglecting to tell anyone . Originally, they asked for no one to take sides, claiming it was an amicable break up . Upon realizing that no one cared and that they were getting little reaction to their news, Ryan declared that the split was not amicable and demanded that people take sides and also raise their hands to show whose side they were on; no one in the office raised a hand to support either one of them . </P> <P> In the episode "Spooked", Ryan and Kelly are seen standing next to each other and talking . At the end of the episode, he kisses her on the forehead . While they took a backseat for most of Season 8, in "Angry Andy" Pam and Jim set up Kelly with their handsome, likable, kind and NOT - RYAN Indian - American pediatrician Ravi, with Pam explaining that the Ryan - Kelly romance has become impossibly disruptive to the rest of the office . Pam also tells Ryan she doesn't think he's a good person and actively cheerleads against Ryan's efforts to win back Kelly (though Ryan admits he doesn't want to be with Kelly for the long run, or even a specific length of time beyond the present). In the end, Kelly tells Ryan she's decided to be with Dr. Ravi, but to Pam's horror immediately begins making out with Ryan again . When Kelly has a romantic portrait taken with Ravi in the Season 8 finale, Ryan looks on sadly, and later holds up a sign begging Kelly to take him back . However, he also holds up a sign for his picture making a romantic overture to a random blonde woman he'd met in Scranton . In the Season 9 premiere, Toby Flenderson says that after Kelly got engaged to Dr. Ravi and moved to Miami (Ohio), Ryan suddenly resigned and decided to pursue IT prospects in the "Silicon Prairie" of southwestern Ohio . During Dwight and Angela's wedding in the series finale, Ryan shows up with a baby son named Drake, stunning Kelly . Ryan later induces a mild strawberry allergy in Drake so that Kelly's husband Dr. Ravi will examine him, in order to get some time alone with Kelly . The two former lovers make out and leave the wedding, and baby Drake, behind on their final flight of romantic insanity . Nellie Bertram announces her intention to adopt Drake . </P> <P> Michael has a one - sided mancrush on Ryan, which frightens him at times . Ryan was also inconveniently stuck in the position of being personal assistant to Michael . He has on several occasions summoned him to inappropriate tasks . In "The Dundies", Michael gives Ryan the "Hottest in the Office" award . After congratulating Ryan for his award, he slaps Ryan's buttocks . Also, in "The Fire" episode, when the office is playing the game "Who would you do" Michael chooses Ryan . </P>

Who does ryan end up with in the office