LOS ANGELES (AP) — A San Francisco judge has rejected former President Donald Trump's lawsuit challenging his permanent ban from Twitter.

Get our free mobile app

U.S. District Judge James Donato said in a ruling Friday that Trump failed to show Twitter abridged his First Amendment right to free speech.

The judge says the challenges failed in part because free speech rights don't apply to private companies and Trump failed to show it was working as a state actor.

The judge gave Trump an opportunity to amend his complaint.

Trump's lawyer did not immediately respond to a request for comment.

Trump has his own social network now and says he won't rejoin Twitter if allowed.

Code Of The West: Wyoming State Code of Ethics

"The Code of the West" was declared the official state code of Wyoming, and the act was signed into law on March 3rd, 2010. Wyoming is the first state to adopt a code of ethics. The legislation chose ten ethics derived from the book "Cowboy Ethics" by James P. Owen