Eventually, she began writing her own risqué plays using the pen name Jane Mast. Her first starring role on Broadway was in a 1926 play she entitled Sex, which she wrote, produced, and directed. Although conservative critics panned the show, ticket sales were strong. The production did not go over well with city officials, who had received complaints from some religious groups, and the theater was raided, with West arrested along with the cast. She was taken to the Jefferson Market Court House, (now Jefferson Market Library), where she was prosecuted on morals charges, and on April 19, 1927, was sentenced to 10 days for "corrupting the morals of youth". Though West could have paid a fine and been let off, she chose the jail sentence for the publicity it would garner. While incarcerated on Welfare Island (now known as Roosevelt Island), she dined with the warden and his wife; she told reporters that she had worn her silk panties while serving time, in lieu of the "burlap" the other girls had to wear. West got great mileage from this jail stint. She served eight days with two days off for "good behavior". Media attention surrounding the incident enhanced her career, by crowning her the darling "bad girl" who "had climbed the ladder of success wrong by wrong".