<P> Karen has left the Scranton branch after her breakup with Jim, and becomes regional manager at the Utica branch . Pam and Jim date happily . An unemployed Jan moves in with Michael, until the dissolution of their relationship midway through the season . After Dwight's crude (though well - intentioned) method of euthanasia of Angela's ailing cat without her permission, she leaves him for Andy, leading Dwight into depression . Ryan, in his new corporate life in New York City, attempts to modernize Dunder Mifflin with a new website for online sales; he also learns that his boss, David Wallace, favors Jim, and thus Ryan attempts to sabotage Jim's career . Ryan is soon arrested and fired for committing fraud related to the website's sales numbers . Toby, embarrassed after accidentally revealing affection for Pam, announces he is moving to Costa Rica, and is replaced by Holly Flax, who quickly shows fondness towards Michael . Pam decides to follow her artistic interests and attend a three - month graphic design course at the Pratt Institute in New York City . In the season finale Andy proposes to Angela, who reluctantly agrees . Phyllis then catches Dwight and Angela having sex in the office . </P> <P> The fifth season consists of 28 half - hours of material, divided into 24 half - hour episodes and two hour - long episodes, one of which aired after Super Bowl XLIII . </P> <P> Jim and Pam become engaged, and she ultimately returns from New York to Scranton, where Jim has bought his parents' house for the two of them . Having avoided jail and only been sentenced to community service, Ryan dyes his hair and starts working for a bowling alley . Michael initiates a romance with Holly until she is transferred to the Nashua, New Hampshire branch and the relationship ends . When Andy is made aware of Dwight and Angela's continued affair, both men leave her . Newly hired Vice President Charles Miner implements a rigid managerial style over the branch that causes Michael to resign in protest . Michael opens the Michael Scott Paper Company, enticing Pam and Ryan to join as salespeople, and though his business model is ultimately unsustainable, Dunder Mifflin's profits are immediately threatened . In a buyout of the Michael Scott Paper Company, the three are rehired with Pam promoted to sales and Ryan returning as a temp . During the chaos, new receptionist Erin is hired to fill the vacancy originally left by Pam . The season's finale ends with a cliffhanger ending hinting that Pam might be pregnant . </P> <P> The sixth season consists of 26 half - hours of material, divided into 22 half - hour episodes and two hour - long episodes . </P>

How much money did the show the office make