Andrew McLaughlin, the nation’s recently departed deputy chief technology officer, will join Stanford University as a researcher and law professor.

McLaughlin, also a former Google executive, will join the Stanford Law School’s Center for Internet & Society as a non-residential fellow, according to the university.

He will join fellow net neutrality advocates Barbara Van Schewick, also a law professor, who was instrumental in guiding the thinking of officials at the Federal Communications Commission on its controversial Internet access policy.

McLaughlin will write about Internet regulation and cybersecurity and will teach a course this fall on global communications and speech laws.

His views on international freedom of speech and net neutrality drew sharp criticism by competing companies such as AT&T. And some lawmakers made him a focus of scrutiny, saying Google has too much influence in the administration. He was head of global policy at Google.

McLaughlin left the Obama administration last December. He spent two years as deputy CTO, where he advised the president on issues such as wireless spectrum management, net neutrality, cybersecurity and privacy.

He will stay in the District, where he is working to launch Civic Commons, a nonprofit that aims to implement tech solutions in local governments.