Facebook Inc.’s top lawyer Ted Ullyot is leaving his post after five years with the company, Facebook announced on Friday.

Ullyot joined the tech company as its inaugural general counsel in October 2008. In the ensuing five years he saw Facebook through litigation involving the Winklevoss twins, a patent battle with Yahoo Inc. and the controversy surrounding its May 2012 initial public offering.

“Ted has been a valued member of Facebook’s leadership who built our legal team through an intense five-year period in which we faced complex and high-stakes legal issues of all types,” Facebook said in a statement to Bloomberg.

Before his five-year stint at Facebook, Ullyot was a partner at Kirkland & Ellis and an in-house attorney at AOL Time Warner. He also served in the public sector as the Department of Justice’s chief of staff and as a deputy assistant to President George W. Bush. There is no word yet on Ullyot’s future plans.

For more career news on InsideCounsel, see:

6 noteworthy in-house career moves

Women in the C-suite

Why building your personal brand is important

GCs discuss building international legal teams

Ogletree Deakins loses another group of lawyers

SuperConference 2013: Fortune 500 GCs identify challenges and give advice