herod went back to judaea to win his kingdom from antigonus and at the same time he married the teenage niece of antigonus , mariamne ( known as mariamne i ) , in an attempt to secure a claim to the throne and gain some jewish favor .