During the negotiations at Schönbrunn, Napoleon narrowly escaped an attempt on his life. On 12 October, shortly before signing the treaty, the emperor exited the palace with a large entourage to observe a military parade. Seventeen year old Friedrich Staps, son of a Lutheran pastor from Naumburg, had arrived in Vienna and demanded an audience to present a petition. He was refused by the emperor's aide General Jean Rapp, who shortly thereafter observed Staps in the courtyard pushing through the crowd towards Napoleon from a different direction, and had him arrested.