Did you mean “legally”?
In a way that conforms to or is permitted or required by the law
The correct word is legally
The correct pronunciation is ˈliːɡəli