Edmund ( reigned 1016 ) was an elder half-brother of King Edward the Confessor and Edmund 's son Edward was in Hungary with King Andrew I having left England as an infant after his father's death and the accession of Cnut as King of England .