<P> As Warbird, the character returns to the Avengers and plays a key role in the Kang Dynasty plotline . Kang's son Marcus, the Scarlet Centurion, falls in love with her, but she rejects him, in part because he reminds her of Marcus, son of Kang's older alter ego Immortus, who raped her . The Scarlet Centurion nonetheless helps her to defeat the Master of the World, a supervillain whose alien technology becomes the key to defeating Kang . In the course of the fight, Warbird kills the Master, and after the final victory over Kang she demands a court martial to review her actions . The court martial finds her killing justified as an act of war, and Carol continues as an Avenger . After the Avengers disband, Warbird leaves the group, and, along with other prominent former Avengers like Wasp, Hank Pym, Falcon and Wonder Man, is not included in the New Avengers group soon formed by Iron Man and Captain America . </P> <P> The character was then featured as "Captain Marvel" in a false reality created by the mutant Scarlet Witch in the limited series House of M . This reality pandered to Danvers' subconscious desire to be accepted, as she proved to be the most popular superhero on Earth . Ms. Marvel then came to prominence again when the character was launched in a second self - titled volume . Together with fellow Avenger Iron Man, Danvers also becomes a principal advocate of the Superhuman Registration Act during the events of the 2006 - 7 "Civil War" storyline . The story also continues in Ms. Marvel's own title as the character battles the anti-registration heroes led by Captain America . </P> <P> The storyline has major consequences for the New Avengers, causing the team to split and the pro--registration heroes--including Ms. Marvel--form their own team, debuting in The Mighty Avengers . Danvers enters into a relationship with fellow member Wonder Man, appears in a crossover series with the robot Transformers, and becomes leader of the Mighty Avengers . The character makes an agreement with Tony Stark, director of S.H.I.E.L.D., to lead a covert strike team called Operation: Lightning Storm, its designated mission being the elimination of supervillains before they become global threats . </P> <P> Ms. Marvel was captured by the Brood on Monster Island, whereupon she found the Brood Queen . An intense confrontation ensued during which Ms. Marvel was temporarily cut off from her powers and had to fight the Brood Queen as Carol Danvers . At one point, she was stripped of her civilian clothing and was forced to drift through space until she was able to access her powers . </P>

Where does captain marvel's powers come from