Democratic candidate Kris Mayes has defeated Republican Abe Hamadeh by just 280 votes in one of the closest elections in Arizona state history, the Maricopa County Superior Court announced Thursday.