“Boomtown” alums Jon Avnet and Donnie Wahlberg have reconnected and partnered with scribe Jack Orman (“ER”) to produce a put pilot at NBC.

“The Code,” which Orman will write, stars Wahlberg as a good cop who goes undercover inside the world of crooked law enforcers. Peacock has agreed to a significant penalty in exchange for the project, which comes from Warner Bros. TV.

Orman will develop the project while continuing with his duties on CBS’ “Dr. Vegas.” Orman exec produces the Rob Lowe/Joe Pantoliano vehicle.

Orman’s on board to exec produce “The Code” alongside Avnet, while Wahlberg will also serve as a producer. Before “Dr. Vegas,” Gersh-repped Orman spent six years on “ER,” where he worked his way up to showrunner. His other credits include “JAG.”

Avnet, meanwhile, most recently produced the feature “Sky Captain and the World of Tomorrow.” On the TV side, he exec produced and directed the NBC longform “Uprising.”

As for Wahlberg, thesp’s credits include “The Sixth Sense” and “Dreamcatcher,” as well as the HBO mini “Band of Brothers” and CBS’ “Big Apple.”