“Jesus had said
To the demoniac.
‘Come out of the man!
ἔλεγεν γὰρ αὐτῷ Ἔξελθε τὸ πνεῦμα τὸ ἀκάθαρτον ἐκ τοῦ ἀνθρώπου.
This is similar to Luke, chapter 8:29. However, in Luke, Jesus commanded the unclean spirit to come out of the demoniac. Here, Mark indicated that Jesus said to the demoniac (ἔλεγεν γὰρ αὐτῷ) that this unclean spirit should come out (Ἔξελθε τὸ πνεῦμα τὸ ἀκάθαρτον) of that man (ἐκ τοῦ ἀνθρώπου). Thus, Jesus also spoke directly to the unclean spirit here also.