This is the beginning of a new part of the story where the writer tells of how Jesus responded to disciples of John the Baptist. (See: [[rc://en/ta/man/translate/writing-newevent]])
This word is used here to mark a break in the main storyline. Here Matthew starts to tell a new part of the story.
# when John heard in the prison about
"When John, who was in prison, heard about" or "When someone told John, who was in prison, about." Even though Matthew has not yet told the readers that King Herod put John the Baptist in jail, the original audience would have been familiar with the story and understood the implicit information here. Matthew will give more information later about John the Baptist, so it is probably best not to make it explicit here.