A proton-conducting polymer membrane comprising polyazoles containing
phosphonic acid groups is obtainable by a process comprising: A) mixing
one or more aromatic or heteroaromatic tetraamino compounds with one or
more aromatic or heteroaromatic carboxylic acids or derivatives thereof
which contain at least two acid groups per carboxylic acid monomer, with
at least part of the tetraamino compounds or the carboxylic acids
comprising at least one phosphonic acid group, or mixing of one or more
aromatic or heteroaromatic diaminocarboxylic acids, of which at least
part comprises phosphonic acid groups, in polyphosphoric acid to form a
solution or dispersion; B) optionally heating the solution or dispersion
obtained by step A) under inert gas to temperatures of up to 350.degree.
C. to form polyazole polymers; C) applying a layer using the mixture from
step A) or B) to a support, thus forming a membrane, and D) partially
hydrolyzing the polyphosphoric acid moieties of the membrane from step C)
until it is self-supporting.