vara någon till lags

Etymology
From, with frozen genitive from when governed the genitive.

Verb

 * 1)  to please someone (for example by fulfilling their requests)