Article will continue after advertisement

A man is proving hard work always pays off after he earned his master’s degree while working as a night custodian so he could afford school.

RELATED: Teen overcomes homelessness, graduates high school 

Jesse Sparks earned a Master of Arts in Clinical Mental Health Counseling from Lesley University earlier this month. He had taken a job as a night custodian at the high school he interned with to be able to afford the degree.

Sparks tweeted a photo of him working as a custodian alongside a photo of his degree, and it quickly went viral.

“I’d work from 8 a.m. to 2:30 p.m. as a guidance counselor, with a full case load. When the bell rang, I’d go to the closet and change into my custodian clothes. It was 16 hours a day in one building,” Sparks told ABC News.

Sparks plans to work as a school guidance counselor near Boston.