Szkoła Rycerska (English: School of Chivalry) or Akademia Szlachecka Korpusu Kadetów Jego Królewskiej Mości i Rzeczypospolitej (English: Nobles' Academy of the Corps of Cadets of His Royal Majesty and the Commonwealth) was the first state school in the Polish-Lithuanian Commonwealth.
The state Corps of Cadets was established in Warsaw on 15 March 1765 by King Stanisław August Poniatowski.
The Corps of Cadets was housed in the Kazimierz Palace (Pałac Kazimierzowski, now the rectorate of Warsaw University). The Corps' commandant was Prince Adam Kazimierz Czartoryski.
The Corps of Cadets was closed in 1795 following the suppression of the Kościuszko Uprising, which had been led by one of the Corps' first alumni, Tadeusz Kościuszko.
In the reign of Stanisław August Poniatowski, several private corps of cadets were also established: by A. Tyzenhauz at Grodno, K. Radziwiłł at Nieśwież, W. Potocki at Niemirów, A. Sułkowski at Rydzyna.
In the period between the two World Wars, the institution of the Corps of Cadets would be revived in Poland. Three state secondary schools of that name would be created: at Kraków (later at Lwów), at Modlin (later at Chełmno) and at Rawicz.
After World War II, in the People's Republic of Poland, until 1956, there existed in Warsaw a Corps of Cadets of the Internal Security Corps (Korpus Bezpieczeństwa Wewnętrznego).