Who is in the wrong?

My guy friend was constantly attacking me verbally and critizing me and i live with him so i yelled at him back and then he came wih his hand and slapped me across my face so i charged him with he police now he is arrested for assault was i wrong and
Who is in the wrong?
Post Opinion