"Ruy Blas" was written to mark the reopening of the Gaiety theatre and the return to the West End of the hugely popular Gaiety company, led by Farren and Leslie, who had been on tour in the U.S. and Australia.