The Gestapo was established on April 26, 1933 in Prussia, from the existing organization of the Prussian Secret Police. The Gestapo was first simply a branch of the Prussian Police, known as Department 1A of the Prussian State Police.
However, it gained ever more power especially after new laws in 1936 enabled the Gestapo to operate without any control of other instances.
Is that what you were asking for?