Hello, I'm Dr. Kafka and I'm here to study you, to help you! Very impressive, Electro.
~ Kafka to Electro.
Dr. Ashley Kafka is a major antagonist in the 2014 superhero film The Amazing Spider-Man 2.
He was the founder and head of Ravencroft Institute who experimented on Electro and most likely on other prisoners. He was also in alliance with Donald Menken.
He was played by Marton Csokas, who also portrayed Poggle the Lesser in Star Wars: Episode II - Attack of the Clones and Star Wars: Episode III - Revenge of the Sith.
The Amazing Spider-Man 2
After Max Dillon was sent to Ravencroft Institute, and put in a large harness containing energy, Dr. Kafka came, and said that he wanted to help and study him to know what he is. He then uses a device that shocks Max, in order to get results of what he is, he keeps on doing this until Max tells him he make sure he kills him this time, and that he is Electro. He then causes Kafka's glasses to break. Later on, Harry Osborn attempts to free Electro from Ravencroft, however, he is soon caught by some Ravencroft guards and Kafka. Electro, however, manages to free himself, and knocks out everyone except Harry. Kafka later regains consciousness and tries to escape, but gets caught by Electro, and he is placed in the same harness that held Electro before. The electricity inside this harness kills Kafka, drowning him and electrocuting him to death.
The Amazing Spider-Man 2 (video game)
At some point in the game, Cletus Kasady was captured and sent to Ravencroft. Dr. Kafka later appears in the game where he is shown to be experimenting on Kasady with the Symbiote, however, something goes wrong as Kasady breaks free as Carnage, and grabs Kafka by the neck, presumably killing him. Kafka is no longer seen after this event.
Kafka was an extremely intelligent but also very cruel, callous and sadistic man who derived huge pleasure from hurting, torturing and experimenting on others. He never showed any sympathy towards his patients and even lied to them that he wants to help them. When Electro broke free, Kafka also turned out to be cowardly since he tried to escape from him.
In other Spider-Man media, Ashley Kafka is a female psychiatrist and good character. In the The Amazing Spider-Man films, however, Ashley Kafka is a male mad scientist and villain.
His first name appears only in ending credits of the movie.
Marton Csokas expressed his interest in reprising his role as Ashley Kafka in future films, but these films were cancelled. As a result, it's unknown if Kafka survived the events of The Amazing Spider-Man 2 or not.
In an interview with Vanity Fair, Frayda Kafka, the real life inspiration for Ashley Kafka in the comics, reacted negatively to the film's portrayal of the character.
Kafka is presumably the most evil character in The Amazing Spider-Man film series since he is a mad scientist who established the mental institute mainly in order to make sadistic, inhumane experiments on people, presumably even killing or permanently traumatizing some of his patients. He was also doing this under the guise of curing or healing them.