Given a reference text about Konstantin Konstantinovich Sluchevsky, tell me where he was born and where he studied.
Konstantin Konstantinovich Sluchevsky (Russian: Константин Константинович Случевский), (1837–1904) was a Russian poet.

Sluchevsky was born in St. Peterburg into a Russian noble family. He graduated from the First Cadet Corps, served in the Imperial Russian Guard, then entered the Academy of the General Staff, but in 1861 he quit the military service and went abroad. For a number of years he studied in Paris, Berlin, and Heidelberg, where he got the degree of Doctor of Philosophy in 1865. On his return to Russia he worked for the Ministry of Internal Affairs and State Property. From 1891 to 1902 he was the Chief Editor of the journal Pravitelstvenny Vestnik (Government Bulletin). He was also a member of the Council of the Chief Printing Office and had a title of Hofmeister.
Konstantin Konstantinovich Sluchevsky was born in St. Petersburg, Russia and studied in Paris, Berlin, and Heidelberg.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------
Konstantin Konstantinovich Sluchevsky (Russian: Константин Константинович Случевский), (1837–1904) was a Russian poet.

Sluchevsky was born in St. Peterburg into a Russian noble family. He graduated from the First Cadet Corps, served in the Imperial Russian Guard, then entered the Academy of the General Staff, but in 1861 he quit the military service and went abroad. For a number of years he studied in Paris, Berlin, and Heidelberg, where he got the degree of Doctor of Philosophy in 1865. On his return to Russia he worked for the Ministry of Internal Affairs and State Property. From 1891 to 1902 he was the Chief Editor of the journal Pravitelstvenny Vestnik (Government Bulletin). He was also a member of the Council of the Chief Printing Office and had a title of Hofmeister.
----------------
Answer the following query.
Given a reference text about Konstantin Konstantinovich Sluchevsky, tell me where he was born and where he studied.

user
Konstantin Konstantinovich Sluchevsky was born in St. Petersburg, Russia and studied in Paris, Berlin, and Heidelberg.
assistant