The Son was appointed by the Father to take command of the true angels, and drive out the rebel host. Lucifer took command of the angels who had rebelled with him, and was determined to hold his place in Heaven.
Then "there was war in heaven: Michael [Christ] and His angels fought against the dragon; and the dragon fought and his angels." Revelation 12:7.
When Lucifer sinned and fell, his character and work were so changed that the beautiful name he had in Heaven was also changed. In Revelation 12:9, he is called "the dragon," "that old serpent," "the devil," and "Satan."
Of course Satan could not win in such a warfare. "He was cast out into the earth, and his angels were cast out with him." Revelation 12:9.
In Isaiah 14:12, we read, "How art thou fallen from Heaven, O Lucifer, Son of the Morning! how art thou cut down to the ground."
Christ refers to this when He said to His disciples, "I beheld Satan as lightning fall from Heaven." Luke 10:18.
When Satan knew that he had lost Heaven forever, his heart was filled with anger and hatred for all that was good. His history since then shows that from that time his motto was, "Evil, be thou my good."
"How art thou fallen, O Lucifer, Son of the Morning."
Revenge filled his heart in which the love of God once abode, and all his wonderful powers were turned against God and His work. Every artful device of evil angels has been used since then to lead men to follow them in sin and rebellion against God.