Mark Wahlberg is now a high school graduate — 25 years after dropping out of a Boston high school.

The 42-year-old actor finished his diploma requirements after taking classes online. He dropped out of Copley Square High School, now known as Snowden International School at Copley, in the ninth grade.

Wahlberg wrote of the struggles he faced growing up surrounded by "drugs, violence and crime". He says hes been taking classes and studying while on movie sets, traveling and at home.