An 8-year-old New Jersey girl is touching hearts across the country after she secretly paid for the dinner of a police officer she encountered in a restaurant.

Mikayla Raji and her mother, Mimi Raji, were eating in a restaurant in Helmetta Friday night when Jamesburg police Officer Joseph Quinn stopped in to pick up his own meal, according to Jamesburg police officials.

Mikayla has a soft spot for police officers. Her father, Perth Amboy police Officer Thomas Raji, was killed in the line of duty in August 2008, when Mimi Raji, also a police officer at the time, was pregnant with their daughter. Mikayla was born seven months after his death, which was caused by a drunken driver.

"(Mikayla) looks up to (police officers)," Mimi Raji told New Jersey's News 12. "She knows they put their lives on the line for us."

Raji and her daughter were eating their own meal when Mikayla spotted Quinn, who she greeted with a hello and a smile, the police department said on its Facebook page. After chatting with him for a few minutes, Mikayla whispered to her mother that she wanted to pay for his food.

She did so anonymously, but the department, "through diligent police work," found out who was behind the gesture, the Facebook post read.

The department decided to pay the kind deed back, Jamesburg police Chief James Craparotta told News 12. They invited Mikayla to be an honorary department member so she could lead their Memorial Day parade.

The department also started a GoFundMe page to help fund her future education.

"Mikayla is a wonderful kid with a big heart, who loves to do kind things for people," the fundraising page reads.

As of Tuesday morning, the page had raised $780 in 14 hours. The ultimate goal is to raise $10,000.

Mikayla Raji, 8, of Monroe, N.J., is pictured visiting the grave of her father, Perth Anboy police Officer Thomas Raji, who was killed in the line of duty seven months before her birth.

Credit: Jamesburg Police Department

icon to expand image

Credit: Jamesburg Police Department

The department posted messages to both Raji and Mikayla on Facebook, thanking Raji for her service, and that of her husband. Officials also thanked Mikayla for buying Quinn’s dinner.

“You have an open invitation to stop by headquarters whenever you want, and this time dinner is on us,” the message read. “Your dad would be so proud of the person you are. If you ever need us for anything, you can guarantee we will be there for you.”

The department's followers also praised Mikayla for her gesture.

“This is a beautiful story about a girl beyond her years,” one woman wrote. “Her mommy is doing an amazing job.”

Another said that “blue is in her DNA,” and several expressed sorrow that the little girl lost her father before she got to meet him.

“Way to go, Mikayla,” one man wrote. “I’m sure your mom is very proud of you and dad is smiling in heaven.”