BOSTON, Mass. (CNN) -- If you lived in South Boston from the late 1970s through the mid-1990s you either loved or loathed Whitey Bulger.
He could be colorful and generous, or, if you were his enemy, he could be cutthroat and cruel.
On Wednesday, James "Whitey" Bulger finally stands trial, charged in the murder of 19 people. The federal trial in Boston is expected to take as long as three months and has the potential to reveal sensational details about the mob and FBI corruption.
Opening statements begin Wednesday morning.
Bulger rose to the top of the notorious Winter Hill gang, prosecutors say, before he went into hiding for more than 16 years after a crooked FBI agent told him in December 1994 he was about to be indicted on federal racketeering charges.
He was captured in Santa Monica, California, two years ago, living under a false name with his girlfriend in an apartment in the oceanside city.
At his arraignment in July 2011 he pleaded not guilty to the 19 murder charges and 13 other counts.
Through his lawyers, the 83-year-old defendant had argued he was given immunity by the FBI and a former prosecutor. The judged dismissed the claim -- saying any purported immunity was not a defense against crimes Bulger faces.
Besides the slayings, Bulger is accused of using violence, force and threats to shake down South Boston's bookmakers, loan sharks and drug dealers. The Irish mob allegedly laundered its ill-gotten gains though liquor stores, bars and other property it owned in South Boston.
"The guy is a sociopathic killer," Tom Foley, the organized crime investigator who spent most of his career with the Massachusetts State Police trying to put Bulger behind bars, told CNN in 2011. "He loved that type of life. He's one of the hardest and cruelest individuals that operated in the Boston area. He's a bad, bad, bad guy."
Former Boston Globe reporter Dick Lehr, who wrote a book about Bulger, described him as a cold-blooded killer whose gang went to lengths to avoid detection.
"When they killed someone -- this is pre-DNA -- they pulled the teeth out, cut the fingers off, tried to make it so the victims, if they were discovered from their graves, couldn't be identified. There's just no bottom. It doesn't get much uglier than someone like Whitey Bulger," Lehr said.
Few people knew Bulger was a rat.
FBI agent John Connolly, who was raised in the same housing projects as Bulger, cut a deal with the alleged mob figure in 1975. Bulger would give information about the Italian mob -- the FBI's prime target -- authorities said.
Protected by the rogue FBI agent, Bulger got names of other informants who had dirt on him and rival gang members -- people he is accused of killing.
He knew when police were watching, knew when they were moving in.
After he fled Boston, he spent more than a decade on the FBI's Top 10 Most Wanted Fugitives list before he was captured in June 2011.
His girlfriend, Catherine Greig, was sentenced to eight years in prison last summer for helping him evade capture.
Connolly is is serving a 50-year sentence for second-degree murder and racketeering.
Prosecutors plan to call as many as 80 witnesses. Among them will be Connolly and Bulger's alleged No. 2, Stephen Flemmi, who was also an informant for the FBI. He is serving life terms without parole but avoided a possible death sentence by cooperating in the hunt for Bulger.
Other former Bulger associates are expected to be called by the prosecution.
Last August, Bulger's lead attorney, J. W. Carney, said his client planned to testify.
"At this point in his life, his goal is to have the truth come out regarding how he was able to act with impunity for so long in the city of Boston," Carney told CNN affiliate WCVB.
™ & © 2013 Cable News Network, Inc., a Time Warner Company. All rights reserved.