This wiki article says this without providing any reference:
Brahmarshi Vishvamitra is one of the most venerated rishis or sages of ancient times in India. He is also credited as the author of most of Mandala 3 of the Rigveda, including the Gayatri Mantra.
Is there any scriptural reference available for this?