More facts are needed because general harassment is not illegal. In order to have a claim, you must be harassed because a protected category such as race, age, disability, etc.
From the facts you have presented thus far, its seems as though you may have claims against your former employer for harassment, wrongful termination, and retaliation. You need to seek the advice of an employment attorney in your area.
The general advice above does not constitute an attorney-client relationship: you haven't hired me or my firm or given me confidential information by posting on this public forum, and my answer on this public forum does not constitute attorney-client advice. IRS Circular 230 Disclosure: In order to comply with requirements imposed by the Internal Revenue Service, we inform you that any U.S. tax advice contained in this communication (including any attachments) is not intended to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing, or recommending to another party any transaction or matter addressed herein.
In California, an employer is prohibited from discriminating against an employee based on that employee’s race, national origin, gender, age, or disability, among other traits. More facts about your specific situation are necessary to provide a full legal analysis. If you believe that you were harassed by your boss for any of the above reasons, you should contact an experienced employment law attorney and provide that attorney with all the facts surrounding your specific situation in order to gauge your legal options in this matter.