A sphere with a mass m and a net charge Q is tied to a string and placed in a uniform electric field E. Once the sphere has come to equilibrium, the string makes an angle theta. Find the charge Q in terms of E, m, and theta.

I am not sure how to combine the force of tension and the force of gravity, and how that relates to charge.

Thank you.