At the obligatory management course I had to undergo I learned that in Denmark laws were not made to have the citizens fall in line with them

What is the correctly punctuated version of this sentence?
At the obligatory management course I had to undergo, I learned that in Denmark laws were not made to have the citizens fall in line with them.