The brother of Nikolas Cruz, who allegedly gunned down 17 people inside a Florida high school, was overheard in jail bragging to his sibling about how many girls they could bed thanks to the shooter’s infamy, prosecutors said Tuesday.

Broward County Judge Kim Theresa Mollica ordered Zachary Cruz to have no contact with Nikolas as the brother was arraigned on trespassing charges.

“Probably most concerning is his contact that he has had with his brother in the jail since his incarceration,” Assistant State Attorney Saranell Murphys said of Zachary, who was arrested Monday for trespassing on the grounds of Marjory Stoneman Douglas High School in Parkland, the scene of the Feb. 14 massacre.

“He has been heard and observed discussing how popular his brother is now, that his face is everywhere and his name is national,” she continued.

“There is discussion of starting some sort of pen pal or fan club and how many girls he is capable of attracting, referring to his brother Nikolas.”

Monday was the third time Zachary was caught on the campus since the shooting, and he had been warned to stay away, prosecutors said.

Mollica ordered Zachary to stay one mile from the campus, wear an ankle monitor, and submit to a psych exam. She also ordered the Lake Worth home where Zachary lives with caretaker Roxanne Deschamps searched for guns.

He was held on a $500,000 bond.

Zachary Cruz’s lawyer Joseph Kimok said his client has already posted the $25 bond he was initially held on, and argued that he is being held to a higher standard because his brother is an accused mass murderer.

“He should have already been released — he is being held because of who he is related to,” Kimok griped.