Park was also fined 18 billion won ($23.2 million), Kim said.
Both Park and the prosecutors have one week to appeal. Park has previously maintained her innocence; prosecutors in February demanded a 30-year prison term.
The Seoul court convicted Park of colluding with longtime confidante Choi Soon Sil to pressure 18 business groups to donate a total of 77.4 billion won for the launch of two foundations controlled by Choi. The two women were also convicted of taking bribes from some of those companies, including more than 7 billion won alone from Samsung in return for government support for a smooth company leadership transition.
The court said Park colluded with senior government officials to blacklist artists critical of Park's Government to deny them state assistance programmes. Park was also convicted of passing on presidential documents with sensitive information to Choi via one of her presidential aides.
The scandal has already led to the arrests, indictments and convictions of dozens of high-profile government officials and business leaders. Choi is serving a 20-year prison term; Samsung scion Lee Jae Yong was initially sentenced to five years in prison before his sentence was suspended on appeal; and Lotte chairman Shin Dong Bin was given two-and-a-half years in prison.
Hundreds of Park's supporters gathered near the Seoul court hours before the ruling, swinging South Korean and US flags under signs and banners that read, among other things, "Immediately release innocent President Park Geun Hye" and "Stop murderous political revenge".
"Long live President Park Geun-hye! Long live the Republic of Korea!" protester Choi Hyung Suk screamed into a microphone, referring to South Korea by its formal name.
Park's conservative supporters - most of them middle-aged and elderly - have been passionately rallying near the court and other parts of the city over the past year, although their gatherings have been much smaller than the earlier ones calling for Park's ouster. The protests show how deeply South Koreans are split along ideological and generational lines, the result of decades-long tension with rival North Korea and the lingering fallout from the conservative military dictatorships that ran the country until the late 1980s.
Park is the daughter of a deeply divisive dictator, Park Chung Hee, who is revered by supporters as a hero who spearheaded South Korea's rapid economic rise in the 1960-70s. But he's also remembered for imprisoning and torturing dissidents.
During her father's 18-year rule, Park Geun Hye served as first lady after her mother was killed in an assassination attempt targeting her father in 1974. She left the presidential mansion in 1979 after her father was gunned down by his own intelligence chief during a late-night drinking party.
After years of seclusion, Park Geun-hye returned to politics by winning a parliamentary seat in the late 1990s, during a burst of nostalgia for her father after South Korea's economy was devastated by a foreign exchange crisis. In 2012, she won the presidential election by defeating her liberal rival and current President Moon Jae In, riding a wave of support by conservatives who wanted to see her repeat her father's charismatic economic revival.
Park's friendships with Choi, 61, began in the mid-1970s when Choi's late father served as Park's mentor after her mother's assassination. But her relations with the Choi family have long haunted her political career. Media reports say that Choi's father was a cult leader and allegedly used his ties with Park to take bribes from government officials and businessmen.
Park has previously insisted that she only got help from Choi on public relations and to edit some presidential speeches.
Park was impeached by lawmakers in December 2016 and removed from office by a Constitutional Court ruling in March 2017. In a subsequent presidential by-election triggered by Park's early exit, Moon won an easy victory against wounded conservatives.
- AP