A New Jersey mother was arrested after authorities said she took her 5-year-old daughter to a tanning salon, where the girl suffered a severe sunburn.

Patricia Krentcil, 44, of Nutley is out on bail following her arrest on a second-degree child endangerment charge, ABC News reported.

"The little girl went to school and reported she had these burns and that caused the school to contact authorities," Katherine Carter, spokesperson for the Essex County Prosecutor's Office, told ABC News.

Authorities declined to name the Nutley salon involved, citing an ongoing investigation.

Krentcil's father now has temporary custody of the girl.

New Jersey law prohibits anyone under the age of 14 from using a tanning booth. Older teens are allowed to tan but only with parental consent, New York TV station WABC reported.