Free Baron de Dolha et Petrova, Judex nobilium (judge of the nobles) in 1580, 1581, 1593 and 1604, Viscount of Máramaros County (1579–1612)