Ex-Microsoft manager Brian Jorgenson was sentenced to two years in prison today after pleading guilty to charges of insider trading. The 32-year-old worked in Microsoft’s corporate finance and investment division and used confidential information to help a friend, Sean Stokke, make trades that earned the pair more than $400,000 in an 18-month period. The duo started making the insider trades after Jorgenson told Stokke in 2012 about Microsoft’s plans to invest in Barnes & Noble. At the time, Stokke purchased options predicting that Barnes & Noble’s stock would rise, ahead of the announcement. The bookseller’s stock price jumped after Microsoft revealed its investment, and netted Stokke $184,000, which he shared with Jorgenson.