Peter O'Toole was originally cast as Toby Dammit. After he pulled out, Federico Fellini contacted a London casting agency and asked them to send the most decadent actors they had to Rome to see him. They sent Terence Stamp and James Fox, and Fellini chose Stamp.