​The ​​NBA trade deadline is just hours away and teams are working frantically to finalize any deals ahead of the 3:00 p.m. ET deadline. The ​Pelicans are set to be one of the most active teams at the deadline and they just locked down a deal with the ​Milwaukee Bucks.

According to Zach Lowe, Pelicans' forward Nikola Mirotic has been traded to the Milwaukee Bucks. In exchange, the Bucks will be sending Stanley Johnson and ​Jason Smith to New Orleans. The Pelicans will also be receiving four future second-round picks in the deal. 

​Johnson had just been acquired by Milwaukee in a trade with the Pistons involving Thon Maker on Wednesday, and within 24 hours, the forward will be on the move again. 

Mirotic has been excellent this season, despite dealing with injuries. He's averaging 16.7 points, 8.3 rebounds and 0.8 blocks per game while draining 2.7 threes per game at a 36.8 percent clip. 

Smith only played in six games for the Bucks, having also been acquired this season. He averaged just 6.7 minutes per game for the team. 

New Orleans is committing to a rebuild, and will also be ​exploring options for young big man Julius Randle at the deadline.