Peter Dóczy de Nagylucse (; ) was a 15th-century Hungarian nobleman. In 1462 he was a captain of the Belgrade fortress. Around 1479 he was a commander of the Hungarian fleet on Danube in Varadin. In 1480 he was a ban of Jajce () in Bosnia.
The alternative names of Peter Dóczy include Petrus de Docz, Petrus Doczy, Petar DojÃÂin, Petar Dovac, Peter DoÃÂi and Petar Varadinac.
In 1462 Dóczy was a captain of the Belgrade fortress. In period between 1476 and 1479 he was a commander of the Hungarian fleet of hundred ships on Danube and Sava. A part of his fleet participated in Hungarian capture of à  abac () in 1476. In 1480 he was a ban of Jajce. At the end of 1480, together with Vuk GrgureviàBrankoviàand Hungarian ban of Slavonia Ladislaus Egervári, Dóczy attacked and plundered the Sanjak of Bosnia whose sanjakbey was Koca Davud Pasha. They managed to reach Vrhbosna and plundered it for three days.
Dóczy traveled to Istanbul to meet Ottoman sultan Mehmed two times as envoy of the Hungarian king Matthias Corvinus. On 9 September 1482 Dóczy, Grgureviàand Pavle Kanjià ¾i defeated Ottoman forces of 10,000 spearmen near ÃÂbecse (today: BeÃÂej, Serbia). Ottomans had intention to reach and plunder the region of Temesvár (today: TimiÃÂoara, Romania).
In Serbian epic poetry Dóczy became Petar DojÃÂin, ban of Varadin. The most famous epic song about Petar DojÃÂin is "DojÃÂin Petar and King Matthias" () also known as "Petar DojÃÂin drinks wine" (), which is published for the first time in period between 1716 and 1733 in Erlangen Manuscript.
Petar DojÃÂin and Bolani DojÃÂin, another hero of Serbian epic poetry, are unrelated.