Garland was then cast in the film adaptation of "Annie Get Your Gun" in the title role of Annie Oakley. She was nervous at the prospect of taking on a role strongly identified with Ethel Merman, anxious about appearing in an unglamorous part after breaking from juvenile parts for several years, and disturbed by her treatment at the hands of director Busby Berkeley. Berkeley was staging all the musical numbers, and was severe with Garland's lack of effort, attitude, and enthusiasm. She complained to Mayer, trying to have Berkeley fired from the feature. She began arriving late to the set and sometimes failed to appear. At this time, she was also undergoing electroshock therapy for depression. She was fired from the picture on 10 May 1949, and was replaced by Betty Hutton, who stepped in to perform all the musical routines as staged by Berkeley.