A man was running a marathon when spectators saw him and cheered him.