Angelina Jolie is back to her humanitarian work. The actress is taking her advocacy for women's rights and gender equality to the classroom. Jolie is joining the London School of Economics as a visiting professor.

On Tuesday morning, the “By the Sea” star gave her first lecture at the Centre for Women, Peace and Security, People reported. She was also set to teach for the new master‘s curriculum on the same subject in September.

Jolie’s lecture focused on women's rights in the context of refugee camps. She also discussed how displacements and statelessness made women and girls vulnerable to sexual abuse and other crimes. The class also examined the connection between the field, the government’s policy works and current state of women’s rights.

READ: Angelina Jolie and Brad Pitt got matching tattoos before split

On Wednesday, Jolie attended and gave a speech at the U.N. in Geneva where she decried the “rising tide of nationalism,” USA Today reported. “We have to recognize the damage we do when we undermine the U.N., or use it selectively, or not at all,” said Jolie. “There is not a single humanitarian appeal anywhere in the world that is funded by even by half of what is required.”

According to E! News, Jolie’s activism is helping her in her tough times. The “Changeling” star is going through divorce and custody battle with ex-husband Brad Pitt. Her philanthropic efforts are her coping mechanism. Jolie always turns to her passion whenever the world doubts and scrutinizes her.

However, aside from giving herself the satisfaction of doing what she loves, Jolie admitted that doing charity works was twofold. It also diverted the attention of the media from concentrating on the controversial issues of her life that could hurt her career.

“Is twofold: I have all that gossip in my life that has gotten so out of control. And my work in Washington and with the UN gets people to focus on other things,” Jolie told Forbes about her charity works.

Is Jolie doing all the things she does now because she loves it or she just wants to divert the media’s attention from her messy divorce with Pitt? Drop a comment below.