The Supreme Court on Thursday ruled in favor of a Texas man who challenged a federal law that bars certain drug users from having firearms.

The court ruled that the law used to prosecute a marijuana user violated his Second Amendment right to bear arms and is unconstitutionally vague.

The Supreme Court is siding with a Texas marijuana user who wants to legally own a gun, the latest in a line of firearm cases from a court that has expanded gun rights.