 Due to the large areas of minable granite in the area the palace was transformed in 1891 into a prison.Prisoners mined the granite until 1910, when a successful trial with farming and logging proved to work better for the prison.As more violent criminals were admitted to Svartsjö Palace, a special closed section was created with 337 cells built with steel walls.