A federal judge sentenced a former Microsoft Corp. employee on Friday to four years in prison for illegally selling millions of dollars of company software.

Finn W. Contini, 37, of Redmond, pleaded guilty in January to one count of conspiracy to commit mail fraud and four counts of money laundering.