 By the 1st article of the treaty the emperor acknowledged the assumption by the elector of the title of king, as Maximilian I.The price which Maximilian had reluctantly to pay for this accession of dignity was the marriage of his daughter Augusta with Eugène de Beauharnais.The Elector declared himself to be king on 1 January 1806, officially changing the Electorate of Bavaria to being the Kingdom of Bavaria.