David, Charlie and Polly Gilmour
Charlie Gilmour (middle) arrives at court in July with his father David and mother Polly. Steve Parsons/PA Wire

Charlie Gilmour, son of Pink Floyd guitarist David Gilmour, was released from a Norfolk, England prison after four months.

The 21-year-old Gilmour was charged in July with violent disorder after he took part in last December's student protests in London. Gilmour was one of thousands of people who rallies to protest against a student tuition hike.

The protests turned violent, and Gilmour was among the group of students who attacked a car carrying Prince Charles and his wife, Camilla, on Regent Street. Gilmour, who admitted to taking LSD and Valium hours before the violence, was also seen hanging from a flag on the Cenotaph war memorial in the British capital.

He was said to have jumped on a Jaguar in the Prince's convoy and thrown a trash can at the vehicle.

Gilmour was originally sentenced to 16 months but was released under normal procedure.

Today, 15 November, Charlie Gilmour was released from HMP Wayland subject to him complying with a home detention curfew, Gilmour's lawyer, Robert Brown, said in a statement.

The curfew will continue until the halfway point of his 16-month sentence. This is standard procedure for prisoners who are serving a sentence of between three months and four years.”

Cambridge University, where Gilmour is a history student, has not decided if Gilmour will be allowed to return to the school, according to the UK's TNT Magazine.

If he were to come back it would have to be next October, the University told The Guardian.

The college would have to make the decision and we don't even know whether he wants to come back yet.