Please check if these have the same meaning.
(A). no
(B). yes
As Superintendent of Police , he served in Salem from 1982 to 1983 and Dharmapuri from 1983 to 1985 .
He served in Salem from 1982 to 1983 as a superintendent of the police and in Dharmapuri from 1983 to 1985 .
(B).