Cain Velasquez is one of the top heavyweights of all time in the MMA world and has been world champion in the UFC, the biggest organization, in two different rounds.

He hung up the gloves in 2019 after a quick knockout loss to Francis Ngannou, the current champion.

In late February of this year, the MMA world was shocked when Velasquez reportedly shot a man in Santa Clara County, California, during a high-speed car chase.

Velasquez then allegedly tried to shoot a person, but instead hit his stepfather who was sitting next to him in the car.

The man Velasquez tried to shoot had been arrested three days earlier for sexually assaulting Velasquez's four-year-old son, USA Today writes.

The stepfather in question did not sustain any serious injuries.

Since then, the former UFC champion has been in custody on suspicion of attempted murder, as well as ten other gun-related charges, and has been denied bail on four separate occasions, according to ESPN.

But after a judge now approved bail, Velasquez was able to leave the prison in San Jose on Wednesday morning, local time, where he has been in prison for 253 days.

Bail was set at one million dollars, close to eleven million kroner, and contained counterclaims such as GPS monitoring, a no-contact order and that he must visit a support group for relatives of sexually abused children.

"Want to do better"

A local television crew filmed Velasquez as he left the prison, and he gave a brief comment:

- I feel grateful and blessed.

I'm ready to go home to my family and friends and try to make something positive out of this whole situation.

Thanks to everyone who has supported me, I love you.

I just want to do better as a person and do good things.

I want to make something positive out of this horrible situation.

That's what my family and I intend to do, said the 40-year-old, who is now reunited with his wife and two children.

Cain Velasquez still faces jail time and is scheduled to appear in court again on November 21.

The man in question whom Velasquez allegedly tried to shoot is still suspected of sexual crimes against children.