Upon crossing the Danube, Karađorđe and his followers were arrested by the Austrian authorities. They were initially detained at the Petrovaradin Fortress in Novi Sad and later transferred to a prison in Graz. The Ottomans demanded that Karađorđe and the other rebel leaders be extradited to face punishment. The Austrians refused and instead turned them over to the Russians. Karađorđe spent a year in Austrian custody before being allowed to go to Russia. Like many of the other rebel leaders, he settled in Bessarabia. He attempted to adjust to civilian life, commissioning a portrait of himself by the painter Vladimir Borovikovsky. In April 1815, Obrenović orchestrated another anti-Ottoman rebellion in Serbia, which came to be known as the Second Serbian Uprising. Unlike Karađorđe's revolt, the Second Serbian Uprising ended relatively quickly and resulted in a rebel victory. In November 1815, the Ottomans accepted Obrenović's demands for wide-ranging autonomy. The terms that they agreed to were identical to those rejected by Karađorđe in 1807.