Brazil's president won a hotly contested runoff Sunday.