The shooter, who killed 19 children along with two teachers in Uvalde, Texas, on Tuesday, allegedly sent a series of text messages to a 15-year-old girl in Germany, moments before he carried out his deadly attack, as per German media reported.

The girl, who was identified, had been in contact with 18-year-old Salvador Ramos for weeks.

Additionally, the video-chatting daily through FaceTime, the girl said she communicated with him via Yubo, a social live-streaming app. The two played online games via Plato, a gaming app.

In one text message exchange, Ramos complained to the girl, who lives in Frankfurt, about his grandmother being “on the phone with AT&T about my phone,” adding “its annoying.”

A few minutes later, he mentioned, “I just shot my grandma in her head.”

Then, at 11:21 am CT, he wrote, “Ima go shoot up an elementary school rn (right now).”

On Wednesday, Greg Abbott, the governor of Texas, said that the gunman posted to Facebook, “approximately 30 minutes before reaching the school.”

Abbott said, “The first post was to the point of he said, ‘I am going to shoot my grandmother.’ The second post was ‘I shot my grandmother’, and the third post may be less than 15 minutes before arriving at school, was ‘I am going to shoot an elementary school.’

Abbott also said, “There was no known mental health history of the gunman.”

The shooting began to unfold at 11.32 am when the shooter, who is also believed to have posted photographs of “my guns” on Instagram four days previously, opened fire in a classroom of nine- and 10-years-olds.

The German girl further mentioned that he had been talking to her regularly online since the beginning of May and had told her he planned to come and visit her in Europe.

“I am coming over soon”, he said to the girl at one point, attaching a screenshot of a Google flight itinerary from San Antonio to Germany.

The girl added he would send her selfie videos and that he seemed to spend a lot of time at home by himself.

Before the attack, Ramos said to the teenage girl that he had bought bullets, adding that they would expand once they entered a body. When she asked what he was going to do with them, he said she should “just wait for it.”

The girl said that Ramos asked her about her life in Germany and told her he spent most of his time home alone.

She said, “Every time I talked to him, he never had plans with his friends. He looked happy as well as comfortable talking to me.”