You haven't replaced the District Commissioner by appointing a district magistrate.
1	You	you	PRON	PERS-P2	_	4	nsubj	_	_
2	have	have	AUX	PRES-AUX	Mood=Ind|Tense=Pres|VerbForm=Fin	4	aux	_	SpaceAfter=No
3	n't	not	PART	NEG	_	4	advmod	_	_
4	replaced	replace	VERB	PERF	Mood=Ind|Tense=Past|VerbForm=Fin	0	root	_	_
5	the	the	DET	DEF	Definite=Def|PronType=Art	7	det	_	_
6	District	district	NOUN	SG-NOM	Number=Sing	7	compound	_	_
7	Commissioner	commissioner	NOUN	SG-NOM	Number=Sing	4	obj	_	_
8	by	by	ADP	_	_	9	mark	_	_
9	appointing	appoint	VERB	ING	Tense=Pres|VerbForm=Part	4	advcl	_	_
10	a	a	DET	IND-SG	Definite=Ind|PronType=Art	12	det	_	_
11	district	district	NOUN	SG-NOM	Number=Sing	12	compound	_	_
12	magistrate	magistrate	NOUN	SG-NOM	Number=Sing	9	obj	_	SpaceAfter=No
13	.	.	PUNCT	Period	_	4	punct	_	_
