I will discuss a classification of the subgroups of the group Aut(A^2) of polynomial automorphisms of the affine plane, over an arbitrary ground field. The main tool is an action of this group on a simplicial tree, coming from a structure of amalgamated product.