Back in Italy, Leoncavallo spent some years teaching and attempting ineffectively to obtain the production of more than one opera, notably Chatterton. In 1890 he saw the enormous success of Pietro Mascagni's Cavalleria rusticana and wasted no time in producing his own verismo work, Pagliacci. (According to Leoncavallo, the plot of this work had a real-life origin: he claimed it derived from a murder trial, in Montalto Uffugo, over which his father had presided.)