/tə ˈmɛri ˈliːɡəli/ – Phrase
Definition: 1. lấy vợ theo luật pháp, lấy chồng theo luật pháp;
2. cưới vợ theo luật pháp, gả chồng theo luật pháp.
A more thorough explanation: To marry legally means to enter into a legally recognized union with another person through a formal ceremony or process that is in compliance with the laws and regulations of the jurisdiction in which the marriage takes place.
Example: The couple went to the courthouse to marry legally in front of a judge and obtain their marriage license.