The United States of Leland

The film begins with a flashback narrated by Leland P. Fitzgerald, describing how he could not remember the details of the day that he killed an intellectually disabled boy named Ryan Pollard. Leland is arrested. Ryan's parents, Harry and Karen, sisters Becky and Julie, and Julie's live-in boyfriend Allen grieve the loss of their loved one. Leland's divorced mother, Marybeth, is desperate to see her son, while his father, famous writer Albert Fitzgerald, discovers his son's fate in a newspaper and returns home to be there for the trial.
While in juvenile hall, Leland is schooled by teacher Pearl Madison, an aspiring writer who is searching for a breakthrough story. Like many others at the detention center, Pearl senses something is different about the emotionally detached Leland, and helps him circumvent the prison rules so he can keep a journal. While his girlfriend is out of town in Los Angeles, Pearl sleeps with a coworker and tells her that he is going to write a book about Leland.
Through his discussions with Pearl, Leland reveals his childhood memories such as his grandmother's funeral and traveling long distances to visit his father. One time, he decided to stay in New York rather than continue on to see his father. After he could not find a hotel, a kindhearted family, the Calderons, decided to take him in for his stay. He continued to visit the family over the years, and was especially captivated by Mrs. Calderon. The two also discuss Leland's history with Becky, Ryan's sister. He had met her innocently at a record store and begun regularly walking home with Ryan and her after school. They had grown to love each other, and Leland recalled a time when Becky asked him to promise her "everything's gonna be okay", despite his objections that he had no control over bad things that could happen. As she explained, sometimes it is just nice to hear things one hopes to be true.
Pearl covertly arranges a meeting with Leland's father at his hotel. After he asks for more information on his family's past, Albert realizes Pearl is researching for his book and refuses to let his son be exploited - something of which he is guilty himself. He eventually tells the prison supervisor about Pearl's prohibited meetings with Leland, leading him to be reassigned to another section of the prison.
Leland discovers through Allen that Becky had an affair with a drug dealer named Kevin who is due to be released from prison. After he gets out of prison, Becky starts to see Kevin again and decides to break up with Leland. In a rare display of emotion, he argues with her, but ultimately realizes the futility of anything he can do or say to change her mind, saying that neither the tears nor the amount of his love - he says he still dreams about her - can change the fact that she does not love him in return. Pearl says he should be angry with her since she betrayed him. Leland replies that he is sad, but not angry.
Pearl begins to realize the implications of his sexual indiscretion through his discussions with Leland, and admits his own failings. Eventually, his girlfriend discovers his tryst and they have a fight over the phone. Meanwhile, Julie decides to break up with Allen and does not want him to go to college. Brokenhearted, he holds up an auto repair shop and allows himself to be arrested in front of Julie. He is sent to the same juvenile hall as Leland, where he steals a knife (from Pearl) and kills Leland in the prison yard as revenge for what he has done to the Pollard family.
Pearl flies to LA to reconcile with his girlfriend and reads Leland's final entries in his journal. On one of his return trips to New York, Leland had discovered that Mrs. Calderon had divorced her husband and that the spark for life that she had before was gone; it is implied Leland and Mrs. Calderon had slept together. Afterwards, Leland writes, he begins noticing a sadness in everyone around him, driving him into a deep depression. One day, as he walks Ryan home from school, the boy becomes frustrated with an obstacle on the bike path. Leland helps him off his bike, gives him a hug, and whispers in his ear that "everything is going to be okay".

Question: Who is arrested?
Answer: Leland