(CNN) -- Gen. Stanley McChrystal, who resigned from the military this year after controversial comments published in a magazine profile, will be teaching at Yale University this fall, according to a university spokeswoman.
McChrystal has been appointed a senior fellow with the Jackson Institute for Global Affairs beginning in the fall semester, said a statement from the spokeswoman, Dorie Baker.
McChrystal, who commanded the U.S.-led military coalition in Afghanistan, will teach a graduate level seminar for students in the international relations master's program, the statement said.
"The course will examine how dramatic changes in globalization have increased the complexity of modern leadership," it said.
The statement quoted McChrystal as saying: "I am extremely excited to be teaching at Yale and I look forward to sharing my experiences and insights as a career military officer."
CNN's Adam Levine contributed to this report.