When a student at Atlanta鈥檚 Morehouse College couldn鈥檛 find a sitter for his baby daughter last week, his professor stepped in to hold the little girl for the duration of the lesson.

It all happened on March 1 in a class run by mathematics professor .

鈥淎s one of my peers walked into the classroom with his child in arms he quickly explained to my professor that he couldn鈥檛 find a babysitter and had nobody else that could watch her,鈥 that day. 鈥淢y professor鈥 said, 鈥楴o problem, in fact I will even hold her so you can take better notes in class.鈥 And he did.鈥

Alexander went on to teach the entire class with five-month-old Assata Hayer strapped to his chest.

鈥淚t was this encounter that truly showed me the power and impact (historically black colleges and universities) can have for the black community, for this professor to understand that life happens and sometimes there are just no ways around it,鈥 Vaughn wrote.

Images of the two have since gone viral and the story has been shared by news outlets around the world.

Wayne Hayer, Assata鈥檚 father, told CTVNews.ca he believes the images have been shared widely because so many people can relate to the struggle of balancing life as a young family.  

 鈥淚 brought her with me to campus before, but I鈥檓 shocked that this resonated with so many people,鈥 he said. 鈥淲hen students tend to bring their kids to school with them, it鈥檚 normally younger women that do this, and we don鈥檛 see too many instances of men taking their babies to school.鈥

On top of not being able to find a sitter in time, Hayer said he decided to take his daughter to school that day because as a full-time student with two jobs, he doesn鈥檛 get much time with the baby. 

鈥淚鈥檓 always away, whether it鈥檚 for work or academics, so (my wife Firda is) with the baby all day, every day,鈥 he said.

Hayer says Alexander had previously encouraged him to bring his daughter to class, but was worried it might not have been a genuine offer. That was, until he walked in.

 鈥淚 think the kid in him came out, because he was like: 鈥極h my God, I can鈥檛 wait to tell my mom,鈥欌 Hayer said.

In a , Firda thanked the professor for his willingness to help their family.

鈥淭hank you to black educators like Dr. Nathan Alexander for your compassion and understanding,鈥 she wrote in the post. 鈥淭his came at the right time.鈥

Morehouse College president David Thomas also took to social media to praise the father and educator.

鈥淭his is about #love and #commitment,鈥 Thomas . 鈥淟oving our students and being committed to removing any barrier to their pursuit of excellence.鈥