Police in Freeport, Texas, tweeted details of Thursday's ceremony for Abigail Arias. I want to help the bad guys go away.
Garivey met Abigail at a "Pancakes with Santa" event, where she told the officer she wanted to become a policewoman when she was older.
The chief reached out to a company called Cop Stop, which donated a custom-made uniform for Abigail, complete with a gun belt and duty rig for her to wear during her swearing-in.
So the police chief immediately put things in motion to fulfil her dream.
Abigail has Wilms Tumours, a form of cancer that starts in the kidneys.
Doctors say they aren't sure how much time the newest chief at the Freeport Police Department has left, KHOU.com said.
"They basically said it's time to enjoy some life", her mother, Ilene Arias, told CBS affiliate KTRK. "The doctors can say what they say medically, but we know that God is the one that has her destiny in his hands". The six-year-old's condition has worsened, to the point that she is not expected to live too much longer. "Extremely tough. We cried for weeks". The final part of her pledge before the attendees was: "I now, and forever, promise to keep fighting the bad guys until all of my cancer is gone". During the meeting, the girl expressed her desire to become a police officer when she grows up.
Fighting back tears, Mr Garivey swore Abigail into the force with a pledge to "keep fighting the bad guys".
'You have to meet her to really understand what a great and inspiring young lady she is'. "I felt excitement and all love", she said.
On Feb. 7, Abigail was surrounded by her family and officers from a number of agencies around Texas for her swearing in.