Phillips conceived Joker in 2016 and wrote the script with Silver throughout 2017. The two were inspired by 1970s character studies and the films of Martin Scorsese (particularly Taxi Driver and The King of Comedy), who was initially attached to the project as a producer. The film loosely adapts plot elements from Batman: