Which sentence is punctuated correctly?

(1 point)
Before they went on vacation, they made sure that the power was turned off.
Before they went on vacation, they made sure, that the power was turned off.
Before they went on vacation they made sure, that the power was turned off.
Before they went on vacation they made sure that the power was turned off.

Before they went on vacation, they made sure that the power was turned off.