Fix a prime number [ell ]. We prove a conjecture stated by Ihara, which he attributes to Deligne, about the action of the absolute Galois group on the pro-[ell ] completion of the fundamental group of the thrice punctured projective line. Similar techniques are also used to prove part of a conjecture of Goncharov, also about the action of the absolute Galois group on the fundamental group of the thrice punctured projective line. The main technical tool is the weighted completion of a profinite group with respect to a reductive representation (and other appropriate data).