She had a close working relationship with her New Zealand counterpart, Prime Minister John Key, who was among the first international leaders to congratulate Gillard on gaining the premiership in June 2010.