The Kansas Supreme Court says solitary confinement can violate an inmate's constitutional rights in some extreme cases.

Friday's ruling came in the case of 33-year-old James Jamerson, who was serving 24 years for second-degree murder linked to a 2001 Topeka homicide.

Jamerson was placed in solitary confinement in 2010 after being threatened with gang violence and accused of taking part in contraband trafficking. The Topeka Capital-Journal (http://bit.ly/1Sa31oG ) reports he filed a writ of habeas corpus in August 2013 after he had been in solitary confinement for more than 1,000 days.

The court ordered Kansas judges to consider an inmate's duration in solitary confinement when determining whether the inmate's rights had been infringed upon.

The ruling has no effect on the Jamerson's treatment because he is no longer in segregation.

___

Information from: The Topeka (Kan.) Capital-Journal, http://www.cjonline.com

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)