Writ of the state in settled areas