Luke 8:30

30 Jesus asked him, “What is your name?”“Legion,” he replied, because many demons had gone into him.

Luke 8:30 in Other Translations

KJV
30 And Jesus asked him, saying,What is thy name? And he said, Legion: because many devils were entered into him.
ESV
30 Jesus then asked him, "What is your name?" And he said, "Legion," for many demons had entered him.
NLT
30 Jesus demanded, “What is your name?” “Legion,” he replied, for he was filled with many demons.
MSG
30 Jesus asked him, "What is your name?"
CSB
30 "What is your name?" Jesus asked him. "Legion," he said-because many demons had entered him.

Luke 8:30 Meaning and Commentary

Luke 8:30

And Jesus asked him, saying, what is thy name?
&c.] This question was put, not out of ignorance in Christ, but for the sake of those that were with him; and partly, that the miserable condition of this man might be the more known; and partly, that his own power might be the more manifest in the dispossession:

and he said, legion, because many devils were entered into him;
(See Gill on Mark 5:9).

Luke 8:30 In-Context

28 When he saw Jesus, he cried out and fell at his feet, shouting at the top of his voice, “What do you want with me, Jesus, Son of the Most High God? I beg you, don’t torture me!”
29 For Jesus had commanded the impure spirit to come out of the man. Many times it had seized him, and though he was chained hand and foot and kept under guard, he had broken his chains and had been driven by the demon into solitary places.
30 Jesus asked him, “What is your name?”“Legion,” he replied, because many demons had gone into him.
31 And they begged Jesus repeatedly not to order them to go into the Abyss.
32 A large herd of pigs was feeding there on the hillside. The demons begged Jesus to let them go into the pigs, and he gave them permission.
Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.