Shaw had been writing plays for years before his first public success, Arms and the Man in 1894. Influenced by Henrik Ibsen, he sought to introduce a new realism into English-language drama, using his plays as vehicles to disseminate his political, social and religious ideas. By the early twentieth century his reputation as a dramatist was secured with a series of critical and popular successes that included Major Barbara, The Doctor's Dilemma and Caesar and Cleopatra.