ตามกฎหมาย

according to the law

→ ตาม
phrase Uncommon #6,395
according to the law Can also mean “legally” or “by law,” depending on the sentence.
TH: ตามกฎหมายแล้ว เขาต้องจ่ายค่าปรับ
EN: According to the law, he has to pay a fine.

แต่ไม่อาจเอาตัวเขากลับมาตามกฎหมายได้

But he can’t be brought back legally.

— โหด เลว ดี (1986)

พวกเขามีทนายถูกต้องตามกฎหมาย

They have a licensed lawyer.

— จูโน่...โจ๋ป่องใจเกินร้อย (2007)

คุณกู้เงินได้ตามกฎหมาย แต่คงหาคนยอมให้กู้ยาก

You can legally borrow money, but it’ll probably be hard to find anyone willing to lend it to you.

ถ้าเจ้าเทิดมันผิด มันก็สมควรจะโดนลงโทษตามกฎหมาย

If Thoet did something wrong, he deserves to be punished under the law.

— The Overture (2004)

ตามกฎหมายแล้ว เธอไม่มีสิทธิ์ที่จะปฏิเสธ

By law, you have no right to refuse.

— วิ่งสู้ฟัด (1985)

ตามกฎหมาย รัฐบาลยึดมันคืนไปแล้ว

Legally, the government has already reclaimed it.

— ฆาตกรรมรัก หลังเขา (2022)

ตามกฎหมายแล้วคุณฆ่าผมไม่ได้

Legally, you can't kill me.

— หวงเฟยหง หมัดบินทะลุเหล็ก (1991)

ผมแค่พูดตามกฎหมายของประเทศนะ

I’m just stating what the law of the country says.

— ดวงดาวเล็กๆ บนผืนโลก (2007)