TV series example of the word

The Big Bang Theory Season 7, Episode 14
'cause, legally, I'm not allowed to.

The Big Bang Theory Season 4, Episode 7
- You're here legally. - Nobody cares.

The Big Bang Theory Season 4, Episode 7
I'm in this country legally, you know.

The Big Bang Theory Season 12, Episode 13
which I'm legally prevented from telling you.

Breaking Bad Season 4, Episode 2
for carrying a weapon with a defaced serial number if you buy it legally.