The cops are always there to help, even when the emergency is fashion related.

When 2-year-old Aaliyah Garrett from South Carolina needed help putting on her pants, she declared it an emergency and decided to call 911.

Read: 7-Year-Old Left Speechless When Marine Brother Surprises Him With Early Homecoming

Her grandfather, not knowing she had made the call, answered the door to Deputy Martha Lohnes.

As he explained that there was no emergency, a half-dressed Aaliyah hopped up behind her grandfather and waved vigorously to the deputy, all the while trying to put on her pants.

Noticing the problem, Deputy Lohnes sat Aaliyah down and helped her out, one leg at a time. Next, Aaliyah asked for help with her shoes, but she still wasn't ready to say goodbye to Deputy Lohnes.

"She jumped in my arms and wouldn't let me go," Deputy Lohnes told InsideEdition.com.

Deputy Lohnes said it isn't uncommon for children to play with the phone, and accidently dial 911.

"We normally sit them down and say, 'Hey, this is for emergencies only,' but she was only 2," she said. "I was impressed that she could dial at all."

Aaliyah's mom Pebbles Ryan said that while they had taught Aaliyah how to dial 911, she's not sure that her toddler really understood the concept.

"I always told her to call when she needed help, but I didn't know she'd take it to that extent!" told InsideEdition.com.

Read: 'Bernie Baby' Dies From SIDS at 4 Months Old

"I came home to find out that the police had put her pants on for her and now she has a new friend for life." Ryan said. She also added that Aaliyah is normally able to dress herself.

"My heart went out to Aaliyah, because not too long ago, I was the little girl dialing 911 just so I could see police officers show up at my house," Lohnes said. "I was so enamored by police officers as a kid."

Back at the Greenville County Sheriff’s Office, Deputy Lohnes was praised by the way she handled the situation.

"You can't train the heart, charisma, or angle she took on this," Deputy Michael Douglas told InsideEdition.com. "We try to recruit those natural attributes."

Deputy Douglas added that more than 250,000 accidental 911 calls were made in 2015 in Greenville County, South Carolina alone.

Watch: Good-Looking Cop Accidentally Becomes Internet Sensation After Visiting 3-Year-Old Who Loves Police