Court councillor

The Russian court councillor () was a civilian rank of the 7th class in the Table of Ranks. 
Table of Ranks.
The Table of Ranks was a system of ranks that tied a person's social standing to service in the military, in civil service, or at the imperial court. A court councilor's rank was moderately high on the list. Each category of service had 14 ranks. 
The court councilor's rank corresponded to the rank of lieutenant colonel in the army, the sergeant in the Cossacks and captain of the 2nd rank. The official address for a court councilor was "Your Excellency". The signs of the distinction of this rank were double-luminous buttonholes or epaulets with three stars.
History.
Until 1745, this rank belonged to the 8th class and later belonged to the 7th class. Initially, persons who had reached this rank were automatically given hereditary nobility. After the reform of 1856, those who served received only personal nobility. After 1803, directors of departments of ministries and provincial authorities (governors, stewards, governors-general) could confer this rank. 
Since the 19th century, all persons who had a doctor’s degree or academic title of professor received this rank automatically. This policy led most of the outstanding Russian scientists of that time to receive hereditary nobility.
The function of the court councilor was an adviser to the "court of appeal", despite the fact that in 1726 these courts were abolished. The rank existed until November 25, 1917, when the entire system of rankings was abolished by the Decree Abolishing Classes and Civil Ranks.