Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

SEOUL, South Korea — A South Korean court sentenced the billionaire chief of Samsung to five years in prison for bribery and other crimes in a stunning downfall for the heir to South Korea's biggest family fortune and a global consumer electronics empire.

The Seoul Central District Court said Friday that Lee Jae-yong, 49, was guilty of offering bribes to Park Geun-hye when she was South Korea's president, and to Park's close friend, to get government support for efforts to cement his control over the Samsung empire. The revelations that led to Lee's arrest in February fed public outrage which contributed to Park's removal as president.

A panel of three judges also found Lee guilty of embezzling Samsung funds, hiding assets overseas, concealing profit from criminal acts and perjury. Prosecutors had sought a 12-year prison term.

Samsung Group heir Lee Jae-yong arrives at Seoul Central District Court on Friday. CHUNG SUNG-JUN / AFP - Getty Images

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Lee was accused of offering $38 million in bribes to four entities controlled by Choi Soon-sil, a long-time friend of Park, in exchange for government help with a merger that strengthened Lee's control over Samsung after his father suffered a heart attack in 2014.

Samsung has not denied transferring corporate funds. But Lee, vice chairman at Samsung Electronics and the Samsung founder's grandson, claimed innocence during the court hearing. He said he was unaware of the foundations or the donations, which were overseen by other executives.

The closely-watched verdict is the latest convulsion in a political scandal that prompted millions of South Koreans to protest last fall, culminating in the ouster and arrest of Park as well as the arrests of Choi and Lee. Park, who was embroiled in a tumultuous series of scandals, was removed from office in March. She and Choi are both currently on trial.

Related: South Koreans Elect New Leader After Corruption Scandal, Amid N. Korea Tensions

Judges pointed to an unusual arrangement in which Samsung bankrolled equestrian training for Choi's daughter as proof of Lee's knowledge of what was transpiring.

They said Lee was aware that Park, president at the time, wanted Samsung to sponsor the equestrian training.

Samsung secretively provided a huge amount of money to Choi's Germany-based company that paid for the training and the exorbitantly priced foreign horses worth 3.6 billion won ($3.2 million) were part of the bribes, the verdict said. The attempts to hide Samsung's involvement also constituted crimes, it said. In total, Samsung paid $7.9 million to the German company, the judges said.

Other former Samsung executives charged with Lee were also found guilty.

Choi Gee-sung, a mentor of Lee, and Chang Choong-ki were sentenced to four years in prison. Two other former executives received suspended prison terms.

The ruling in Lee's case can be appealed twice. Samsung will appeal the ruling immediately, Song Woo-cheol, a Samsung attorney, told reporters.