Peter III (Portuguese: "Pedro III" () (5 July 1717 – 25 May 1786) became King of the Kingdom of Portugal and the Algarves by the accession of his wife and niece Queen Maria I in 1777, and co-reigned alongside her until his death.